Skip to content

Commit 7d7322a

Browse files
committed
chore: Remove misleading comment
1 parent 6d00258 commit 7d7322a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/renderer/render.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -622,11 +622,6 @@ fn render_snippet_annotations(
622622
// Get the left-side margin to remove it
623623
let mut whitespace_margin = usize::MAX;
624624
for line_info in annotated_lines {
625-
// Whitespace can only be removed (aka considered leading)
626-
// if the lexer considers it whitespace.
627-
// non-rustc_lexer::is_whitespace() chars are reported as an
628-
// error (ex. no-break-spaces \u{a0}), and thus can't be considered
629-
// for removal during error reporting.
630625
let leading_whitespace = line_info
631626
.line
632627
.chars()

0 commit comments

Comments
 (0)