We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04721c9 commit 13eb487Copy full SHA for 13eb487
turbopack/crates/turbopack-core/src/code_builder.rs
@@ -55,7 +55,7 @@ impl CodeBuilder {
55
pub fn new(collect_mappings: bool) -> Self {
56
Self {
57
code: RopeBuilder::default(),
58
- mappings: collect_mappings.then(|| Vec::new()),
+ mappings: collect_mappings.then(Vec::new),
59
}
60
61
0 commit comments