mirror of
https://github.com/Cuprate/cuprate.git
synced 2025-01-22 10:44:36 +00:00
fix docs
This commit is contained in:
parent
1570844b0b
commit
37e7c29c48
2 changed files with 3 additions and 4 deletions
|
@ -85,9 +85,8 @@ impl<N: NetworkZone> ClientPool<N> {
|
|||
}
|
||||
}
|
||||
|
||||
/// Adds a _new_ [`Client`] to the pool, this client should be a new connection,
|
||||
///
|
||||
/// See [`ClientPool::add_client`] to add a [`Client`] which was removed from the pool.
|
||||
/// Adds a _new_ [`Client`] to the pool, this client should be a new connection, and not already
|
||||
/// from the pool.
|
||||
pub fn add_new_client(&self, client: Client<N>) {
|
||||
self.new_connection_tx
|
||||
.send((client.info.handle.clone(), client.info.id))
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
//!
|
||||
#![allow(dead_code)]
|
||||
|
||||
mod client_pool;
|
||||
pub mod client_pool;
|
||||
pub mod config;
|
||||
pub mod connection_maintainer;
|
||||
mod constants;
|
||||
|
|
Loading…
Reference in a new issue