From d4625e32fc24a047915402d3afb5490b14fafbe1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Donny/=EA=B0=95=EB=8F=99=EC=9C=A4?= Date: Thu, 23 Mar 2023 17:22:29 +0900 Subject: [PATCH] fixup --- crates/swc_macros_common/src/syn_ext.rs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/crates/swc_macros_common/src/syn_ext.rs b/crates/swc_macros_common/src/syn_ext.rs index fb58d3f40c19..384575c7ec5f 100644 --- a/crates/swc_macros_common/src/syn_ext.rs +++ b/crates/swc_macros_common/src/syn_ext.rs @@ -76,13 +76,7 @@ impl ItemImplExt for ItemImpl { .params .extend(self.generics.params.into_pairs()); - ItemImpl { - defaultness: self.defaultness, - unsafety: self.unsafety, - impl_token: self.impl_token, - brace_token: self.brace_token, - ..item - } + item } }