diff --git a/crates/tor-proto/src/circuit.rs b/crates/tor-proto/src/circuit.rs index 5a71dcc85..1e71ca59b 100644 --- a/crates/tor-proto/src/circuit.rs +++ b/crates/tor-proto/src/circuit.rs @@ -243,6 +243,7 @@ impl ClientCirc { /// /// TODO HS: Fix the virtual-hop issue. pub fn path(&self) -> Vec { + #[allow(clippy::unnecessary_filter_map)] // clippy is blind to the cfg self.path .all_hops() .into_iter()