summaryrefslogtreecommitdiff
path: root/crates/tor-circmgr/src/impls.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/tor-circmgr/src/impls.rs')
-rw-r--r--crates/tor-circmgr/src/impls.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/tor-circmgr/src/impls.rs b/crates/tor-circmgr/src/impls.rs
index b7c0fbc1c..01a046e8f 100644
--- a/crates/tor-circmgr/src/impls.rs
+++ b/crates/tor-circmgr/src/impls.rs
@@ -32,6 +32,10 @@ impl mgr::AbstractTunnel for tor_proto::ClientTunnel {
!self.is_closing()
}
+ // TODO: replace Itertools::exactly_one() with a stdlib equivalent when there is one.
+ //
+ // See issue #48919 <https://github.com/rust-lang/rust/issues/48919>
+ #[allow(unstable_name_collisions)]
fn single_path(&self) -> tor_proto::Result<Arc<Path>> {
use itertools::Itertools as _;