Skip to content

Commit 13eb487

Browse files
sokramischnic
authored andcommitted
clippy
1 parent 04721c9 commit 13eb487

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

turbopack/crates/turbopack-core/src/code_builder.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ impl CodeBuilder {
5555
pub fn new(collect_mappings: bool) -> Self {
5656
Self {
5757
code: RopeBuilder::default(),
58-
mappings: collect_mappings.then(|| Vec::new()),
58+
mappings: collect_mappings.then(Vec::new),
5959
}
6060
}
6161

0 commit comments

Comments
 (0)