diff options
Diffstat (limited to 'crates/tor-proto/src/channel.rs')
| -rw-r--r-- | crates/tor-proto/src/channel.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/tor-proto/src/channel.rs b/crates/tor-proto/src/channel.rs index ef4fe6c57..c37c3234c 100644 --- a/crates/tor-proto/src/channel.rs +++ b/crates/tor-proto/src/channel.rs @@ -705,6 +705,7 @@ impl Channel { /// Send a control message #[instrument(level = "trace", skip_all)] + #[cfg_attr(test, visibility::make(pub(crate)))] fn send_control(&self, msg: CtrlMsg) -> StdResult<(), ChannelClosed> { self.control .unbounded_send(msg) |
