Skip to content

Commit

Permalink
silence false-positive lint
Browse files Browse the repository at this point in the history
  • Loading branch information
benmaddison committed Aug 7, 2023
1 parent ca0d0a3 commit a71900d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/any/prefix/set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ impl Set {
/// # Ok::<_, Error>(())
/// ```
#[must_use]
#[allow(clippy::missing_const_for_fn)]
pub fn partition(self) -> (concrete::PrefixSet<Ipv4>, concrete::PrefixSet<Ipv6>) {
(self.ipv4, self.ipv6)
}
Expand Down

0 comments on commit a71900d

Please sign in to comment.