diff --git a/crates/oxc_parser/src/lib.rs b/crates/oxc_parser/src/lib.rs index e52e5091d..46e960a47 100644 --- a/crates/oxc_parser/src/lib.rs +++ b/crates/oxc_parser/src/lib.rs @@ -123,7 +123,7 @@ impl<'a> Parser<'a> { } /// Return error info at current token - /// Panics + /// # Panics /// * The lexer did not push a diagnostic when `Kind::Undetermined` is returned fn unexpected(&self) -> Result { // The lexer should have reported a more meaningful diagnostic