Skip to content

Commit

Permalink
Reword explanation of SourceMap initial value
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Oct 8, 2023
1 parent 4d8410e commit 12eddc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fallback.rs
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,8 @@ impl Debug for SourceFile {
#[cfg(all(span_locations, not(fuzzing)))]
thread_local! {
static SOURCE_MAP: RefCell<SourceMap> = RefCell::new(SourceMap {
// NOTE: We start with a single dummy file which all call_site() and
// def_site() spans reference.
// Start with a single dummy file which all call_site() and def_site()
// spans reference.
files: vec![FileInfo {
source_text: String::new(),
span: Span { lo: 0, hi: 0 },
Expand Down

0 comments on commit 12eddc0

Please sign in to comment.