diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-09-14 18:09:58 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-09-14 18:10:32 +0800 |
| commit | b0891c3ff11dd05c475a2b0f0e722b6b0e1aab5c (patch) | |
| tree | e7cefa66e4b635e1dd508dd676087cff4fe1d044 /src/client/connector/manager.rs | |
| parent | 46cb6bcbe8ed6254aa06ff155828666d14ef7bed (diff) | |
chore: pub(crate) -> pub for same visibility
Diffstat (limited to 'src/client/connector/manager.rs')
| -rw-r--r-- | src/client/connector/manager.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/connector/manager.rs b/src/client/connector/manager.rs index a7ef293..ff52daf 100644 --- a/src/client/connector/manager.rs +++ b/src/client/connector/manager.rs @@ -1,15 +1,15 @@ use crate::connector::Connection; -pub(crate) struct ConnectorManager<C: Connection> { +pub struct ConnectorManager<C: Connection> { connector: C, } impl<C: Connection> ConnectorManager<C> { - pub(crate) fn new(connector: C) -> Self { + pub fn new(connector: C) -> Self { Self { connector } } - pub(crate) fn enter_loop(&mut self) { + pub fn enter_loop(&mut self) { self.connector.r#loop(); } } |
