diff --git a/src/rust/src/x509/crl.rs b/src/rust/src/x509/crl.rs index 8e43832986c2..f4d6feebc820 100644 --- a/src/rust/src/x509/crl.rs +++ b/src/rust/src/x509/crl.rs @@ -120,6 +120,9 @@ impl CertificateRevocationList { self.len() } + // Silenced due to false-positives + // https://github.com/rust-lang/rust-clippy/issues/12135 + #[allow(clippy::useless_asref)] fn __iter__(&self) -> CRLIterator { CRLIterator { contents: OwnedCRLIteratorData::try_new(Arc::clone(&self.owned), |v| {