mirror of
https://github.com/Cuprate/cuprate.git
synced 2025-03-16 17:01:54 +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,
|
/// Adds a _new_ [`Client`] to the pool, this client should be a new connection, and not already
|
||||||
///
|
/// from the pool.
|
||||||
/// See [`ClientPool::add_client`] to add a [`Client`] which was removed from the pool.
|
|
||||||
pub fn add_new_client(&self, client: Client<N>) {
|
pub fn add_new_client(&self, client: Client<N>) {
|
||||||
self.new_connection_tx
|
self.new_connection_tx
|
||||||
.send((client.info.handle.clone(), client.info.id))
|
.send((client.info.handle.clone(), client.info.id))
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
//!
|
//!
|
||||||
#![allow(dead_code)]
|
#![allow(dead_code)]
|
||||||
|
|
||||||
mod client_pool;
|
pub mod client_pool;
|
||||||
pub mod config;
|
pub mod config;
|
||||||
pub mod connection_maintainer;
|
pub mod connection_maintainer;
|
||||||
mod constants;
|
mod constants;
|
||||||
|
|
Loading…
Reference in a new issue