Skip to content

Commit

Permalink
impl Default for SourceMap
Browse files Browse the repository at this point in the history
  • Loading branch information
vcfxb committed May 17, 2024
1 parent 6ec39a2 commit 7768178
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions wright/src/source_tracking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,9 @@ impl SourceMap {
source
}
}

impl Default for SourceMap {
fn default() -> Self {
SourceMap::new()
}
}

0 comments on commit 7768178

Please sign in to comment.