From 99158a82cf6ad4a41eb9129f5ea48ac92a87c563 Mon Sep 17 00:00:00 2001 From: Nerixyz Date: Sat, 12 Oct 2024 23:48:09 +0200 Subject: [PATCH] fix: use new lint name --- src/macros.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/macros.rs b/src/macros.rs index 47ab8283..58c9a3c6 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -181,7 +181,7 @@ macro_rules! manual_braid { impl ::std::cmp::PartialOrd for $Owned { #[inline] #[allow(unknown_lints)] - #[allow(clippy::incorrect_partial_ord_impl_on_ord_type)] + #[allow(clippy::non_canonical_partial_ord_impl)] fn partial_cmp(&self, other: &Self) -> ::std::option::Option<::std::cmp::Ordering> { ::std::option::Option::Some(::std::cmp::Ord::cmp(self, other)) }