Skip to content

Commit 452e3a3

Browse files
committed
Fix comment
1 parent 253fcfb commit 452e3a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/parser/src/lexer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ where
236236
lxr.window.slide();
237237
lxr.window.slide();
238238
lxr.window.slide();
239-
// Check if BOM exists
239+
// TODO: Handle possible mismatch between BOM and explicit encoding declaration.
240240
if let Some('\u{feff}') = lxr.window[0] {
241241
lxr.window.slide();
242242
}

0 commit comments

Comments
 (0)