Skip to content

Commit

Permalink
Silence new clippy false-positive (#10168)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex authored Jan 12, 2024
1 parent b1810f3 commit ba2bef6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/rust/src/x509/crl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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| {
Expand Down

0 comments on commit ba2bef6

Please sign in to comment.