Skip to content

Commit

Permalink
glib: Update for renamed clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sdroege committed Nov 17, 2023
1 parent 1b1f187 commit 23b6700
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions glib/src/boxed_inline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 23b6700

Please sign in to comment.