Skip to content

Commit

Permalink
Remove ancient todo comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Oct 3, 2023
1 parent 7921d32 commit 07bb590
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/fallback.rs
Expand Up @@ -305,7 +305,6 @@ impl SourceFile {
}

pub fn is_real(&self) -> bool {
// XXX(nika): Support real files in the future?
false
}
}
Expand Down Expand Up @@ -405,7 +404,6 @@ impl SourceMap {
fn add_file(&mut self, src: &str) -> Span {
let (len, lines) = lines_offsets(src);
let lo = self.next_start_pos();
// 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 07bb590

Please sign in to comment.