diff --git a/crates/oxc_transformer/src/typescript/enum.rs b/crates/oxc_transformer/src/typescript/enum.rs index 71f24e6451f0a..da293e5471536 100644 --- a/crates/oxc_transformer/src/typescript/enum.rs +++ b/crates/oxc_transformer/src/typescript/enum.rs @@ -174,7 +174,6 @@ impl<'a> TypeScriptEnum<'a> { Some(stmt) } - #[allow(clippy::needless_pass_by_value)] fn transform_ts_enum_members( &mut self, members: &mut ArenaVec<'a, TSEnumMember<'a>>,