From 27e4e86c99d83b2dc0c371cf32e5f646c74b0087 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wojciech=20Przytu=C5=82a?= Date: Mon, 27 Jan 2025 10:53:05 +0100 Subject: [PATCH] node: fix heavily outdated docstring --- scylla/src/cluster/node.rs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/scylla/src/cluster/node.rs b/scylla/src/cluster/node.rs index 519aea50c..b00ba4433 100644 --- a/scylla/src/cluster/node.rs +++ b/scylla/src/cluster/node.rs @@ -89,13 +89,7 @@ pub struct Node { pub type NodeRef<'a> = &'a Arc; impl Node { - /// Creates new node which starts connecting in the background - /// # Arguments - /// - /// `address` - address to connect to - /// `compression` - preferred compression to use - /// `datacenter` - optional datacenter name - /// `rack` - optional rack name + /// Creates a new node which starts connecting in the background. pub(crate) fn new( peer: PeerEndpoint, pool_config: PoolConfig,