From 07bb590e9706c65f4c850f0163ec05333ab636c9 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Mon, 2 Oct 2023 21:32:15 -0400 Subject: [PATCH] Remove ancient todo comments --- src/fallback.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/fallback.rs b/src/fallback.rs index daa1e17..db52959 100644 --- a/src/fallback.rs +++ b/src/fallback.rs @@ -305,7 +305,6 @@ impl SourceFile { } pub fn is_real(&self) -> bool { - // XXX(nika): Support real files in the future? false } } @@ -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),