From e8b2bc3d73ff1ed9913306a2ee052fe13c8a881f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Mon, 6 Jan 2025 18:28:51 +0900 Subject: [PATCH] chore: Fix clippy warnings --- crates/swc_parallel/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/swc_parallel/src/lib.rs b/crates/swc_parallel/src/lib.rs index ff60c8fe703f..99bdd98a5197 100644 --- a/crates/swc_parallel/src/lib.rs +++ b/crates/swc_parallel/src/lib.rs @@ -21,6 +21,7 @@ impl<'a> From> for MaybeScope<'a> { } impl<'a> MaybeScope<'a> { + #[allow(clippy::redundant_closure)] pub fn with(&mut self, f: F) -> R where F: FnOnce(Scope<'a>) -> R,