mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 04:08:41 +00:00
refactor(sourcemap): lower the msrv. (#4873)
Related to https://github.com/oxc-project/oxc/pull/4864#issuecomment-2285908919 https://releases.rs/docs/1.80.0/#stabilized-apis
This commit is contained in:
parent
a2269625cc
commit
5fd170140e
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ impl ConcatSourceMapBuilder {
|
|||
// than cloning an `Arc`.
|
||||
self.source_contents.extend(source_contents.iter().map(Arc::clone));
|
||||
} else {
|
||||
self.source_contents.extend((0..sourcemap.sources.len()).map(|_| Arc::default()));
|
||||
self.source_contents.extend((0..sourcemap.sources.len()).map(|_| "".into()));
|
||||
}
|
||||
|
||||
// Extend `names`.
|
||||
|
|
|
|||
Loading…
Reference in a new issue