Skip to content

Commit

Permalink
Clippy.
Browse files Browse the repository at this point in the history
  • Loading branch information
ximon18 committed Jan 20, 2025
1 parent df72cb4 commit b4b7e91
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sign/denial/nsec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ use crate::sign::records::RecordsIter;
/// [RFC 4035 section 2.3]: https://www.rfc-editor.org/rfc/rfc4035#section-2.3
/// [RFC 9077]: https://www.rfc-editor.org/rfc/rfc9077
// TODO: Add (mutable?) iterator based variant.
#[allow(clippy::type_complexity)]
pub fn generate_nsecs<N, Octs>(
records: RecordsIter<'_, N, ZoneRecordData<Octs, N>>,
assume_dnskeys_will_be_added: bool,
Expand Down Expand Up @@ -564,6 +565,7 @@ mod tests {
Record::new(name, Class::IN, Ttl::ZERO, ns)
}

#[allow(clippy::type_complexity)]
fn contains_owner(
nsecs: &[Record<Name<Bytes>, Nsec<Bytes, Name<Bytes>>>],
name: &str,
Expand Down

0 comments on commit b4b7e91

Please sign in to comment.