diff --git a/crates/oxc_parser/src/lexer/template.rs b/crates/oxc_parser/src/lexer/template.rs index 72c8be3d159fb..2c76d67ad87fe 100644 --- a/crates/oxc_parser/src/lexer/template.rs +++ b/crates/oxc_parser/src/lexer/template.rs @@ -189,7 +189,7 @@ impl<'a> Lexer<'a> { str } - /// Process template literal after `\n` or `\` found. + /// Process template literal after `\r` or `\` found. /// /// # SAFETY /// `chunk_start` must not be after `pos`.