diff --git a/core/src/avm1/object.rs b/core/src/avm1/object.rs index 12e43976a694..97cd092d7852 100644 --- a/core/src/avm1/object.rs +++ b/core/src/avm1/object.rs @@ -84,7 +84,6 @@ unsafe impl<'gc> gc_arena::Collect for Property<'gc> { } impl fmt::Debug for Property<'_> { - #[allow(clippy::unneeded_field_pattern)] fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match self { Property::Virtual { get: _, set } => f diff --git a/core/src/lib.rs b/core/src/lib.rs index 311fb84319de..62ba96d1fa74 100644 --- a/core/src/lib.rs +++ b/core/src/lib.rs @@ -1,3 +1,5 @@ +#![allow(clippy::unneeded_field_pattern)] + #[macro_use] mod display_object;