From 23b6700a3fd6fbd8086c126ba7bdeee11a8b599f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 17 Nov 2023 11:42:34 +0200 Subject: [PATCH] glib: Update for renamed clippy lint --- glib/src/boxed_inline.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glib/src/boxed_inline.rs b/glib/src/boxed_inline.rs index fd01ca20676e..47e803dbbf7c 100644 --- a/glib/src/boxed_inline.rs +++ b/glib/src/boxed_inline.rs @@ -16,7 +16,7 @@ macro_rules! glib_boxed_inline_wrapper { $(pub(crate) phantom: std::marker::PhantomData<$($generic),+>,)? } - #[allow(clippy::incorrect_clone_impl_on_copy_type)] + #[allow(clippy::non_canonical_clone_impl)] impl $(<$($generic $(: $bound $(+ $bound2)*)?),+>)? std::clone::Clone for $name $(<$($generic),+>)? { #[inline] fn clone(&self) -> Self { @@ -49,7 +49,7 @@ macro_rules! glib_boxed_inline_wrapper { $(pub(crate) phantom: std::marker::PhantomData<$($generic),+>,)? } - #[allow(clippy::incorrect_clone_impl_on_copy_type)] + #[allow(clippy::non_canonical_clone_impl)] impl $(<$($generic $(: $bound $(+ $bound2)*)?),+>)? std::clone::Clone for $name $(<$($generic),+>)? { #[inline] fn clone(&self) -> Self {