Skip to content

Commit a1bcaa5

Browse files
committed
node: fix heavily outdated docstring
1 parent 13d8841 commit a1bcaa5

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

scylla/src/cluster/node.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,7 @@ pub struct Node {
8989
pub type NodeRef<'a> = &'a Arc<Node>;
9090

9191
impl Node {
92-
/// Creates new node which starts connecting in the background
93-
/// # Arguments
94-
///
95-
/// `address` - address to connect to
96-
/// `compression` - preferred compression to use
97-
/// `datacenter` - optional datacenter name
98-
/// `rack` - optional rack name
92+
/// Creates a new node which starts connecting in the background.
9993
pub(crate) fn new(
10094
peer: PeerEndpoint,
10195
pool_config: &PoolConfig,

0 commit comments

Comments
 (0)