Skip to content

Commit

Permalink
node: fix heavily outdated docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
wprzytula authored and QuerthDP committed Jan 27, 2025
1 parent 41b2f5a commit 27e4e86
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions scylla/src/cluster/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,7 @@ pub struct Node {
pub type NodeRef<'a> = &'a Arc<Node>;

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,
Expand Down

0 comments on commit 27e4e86

Please sign in to comment.