From a71900dcb6a0553c402ca1249464b6cf7d1fdf55 Mon Sep 17 00:00:00 2001 From: Ben Maddison Date: Mon, 7 Aug 2023 17:50:36 +0200 Subject: [PATCH] silence false-positive lint --- src/any/prefix/set.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/any/prefix/set.rs b/src/any/prefix/set.rs index 9bdff94..c4777b8 100644 --- a/src/any/prefix/set.rs +++ b/src/any/prefix/set.rs @@ -59,6 +59,7 @@ impl Set { /// # Ok::<_, Error>(()) /// ``` #[must_use] + #[allow(clippy::missing_const_for_fn)] pub fn partition(self) -> (concrete::PrefixSet, concrete::PrefixSet) { (self.ipv4, self.ipv6) }