Skip to content

Commit

Permalink
chore: Fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Jan 6, 2025
1 parent 84a6702 commit e8b2bc3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/swc_parallel/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ impl<'a> From<Scope<'a>> for MaybeScope<'a> {
}

impl<'a> MaybeScope<'a> {
#[allow(clippy::redundant_closure)]
pub fn with<F, R>(&mut self, f: F) -> R
where
F: FnOnce(Scope<'a>) -> R,
Expand Down

0 comments on commit e8b2bc3

Please sign in to comment.