Skip to content

Commit

Permalink
Fix typo in nika XXX comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jul 20, 2022
1 parent e4ed201 commit 6ed82b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fallback.rs
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ impl SourceMap {
fn add_file(&mut self, name: &str, src: &str) -> Span {
let (len, lines) = lines_offsets(src);
let lo = self.next_start_pos();
// XXX(nika): Shouild we bother doing a checked cast or checked add here?
// XXX(nika): Should we bother doing a checked cast or checked add here?
let span = Span {
lo,
hi: lo + (len as u32),
Expand Down

0 comments on commit 6ed82b0

Please sign in to comment.