aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-proto/src/channel/test_utils.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/tor-proto/src/channel/test_utils.rs')
-rw-r--r--crates/tor-proto/src/channel/test_utils.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/tor-proto/src/channel/test_utils.rs b/crates/tor-proto/src/channel/test_utils.rs
index 9e2db0d9b..b107a53c8 100644
--- a/crates/tor-proto/src/channel/test_utils.rs
+++ b/crates/tor-proto/src/channel/test_utils.rs
@@ -314,6 +314,7 @@ impl ConnInspector {
}
/// Wait for the next message sent by the relay.
+ #[expect(dead_code)]
pub(crate) async fn relay_cell(&mut self) -> Option<AnyChanCell> {
self.relay_inspector_rx.recv().await.ok()
}