diff --git a/crates/tor-cell/src/relaycell/msg.rs b/crates/tor-cell/src/relaycell/msg.rs index 5738e5afb..5a1c7592f 100644 --- a/crates/tor-cell/src/relaycell/msg.rs +++ b/crates/tor-cell/src/relaycell/msg.rs @@ -63,7 +63,6 @@ pub trait Body: Sized { /// Decode a relay cell body from a provided reader. fn decode_from_reader(r: &mut Reader<'_>) -> Result; /// Encode the body of this cell into the end of a vec. - #[cfg_attr(ci_arti_nightly, allow(clippy::ptr_arg))] fn encode_onto(self, w: &mut Vec); } diff --git a/crates/tor-circmgr/src/mgr.rs b/crates/tor-circmgr/src/mgr.rs index efb9675ab..1206d590a 100644 --- a/crates/tor-circmgr/src/mgr.rs +++ b/crates/tor-circmgr/src/mgr.rs @@ -319,7 +319,7 @@ impl OpenEntry { Ok(()) } - /// Find the "best" entry from a vector of OpenEntry for supporting + /// Find the "best" entry from a slice of OpenEntry for supporting /// a given `usage`. /// /// If `parallelism` is some N greater than 1, we pick randomly @@ -330,7 +330,7 @@ impl OpenEntry { /// Requires that `ents` is nonempty, and that every element of `ents` /// supports `spec`. fn find_best<'a>( - #[cfg_attr(ci_arti_nightly, allow(clippy::ptr_arg))] ents: &'a mut Vec<&'a mut Self>, + ents: &'a mut [&'a mut Self], usage: &::Usage, parallelism: usize, ) -> &'a mut Self {