From b4b7e918d9a1a7497d7b997f9fb99660d2a6c691 Mon Sep 17 00:00:00 2001 From: Ximon Eighteen <3304436+ximon18@users.noreply.github.com> Date: Mon, 20 Jan 2025 11:58:23 +0100 Subject: [PATCH] Clippy. --- src/sign/denial/nsec.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sign/denial/nsec.rs b/src/sign/denial/nsec.rs index 351a45937..6ff695ad6 100644 --- a/src/sign/denial/nsec.rs +++ b/src/sign/denial/nsec.rs @@ -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( records: RecordsIter<'_, N, ZoneRecordData>, assume_dnskeys_will_be_added: bool, @@ -564,6 +565,7 @@ mod tests { Record::new(name, Class::IN, Ttl::ZERO, ns) } + #[allow(clippy::type_complexity)] fn contains_owner( nsecs: &[Record, Nsec>>], name: &str,