mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
docs(oxc_parser): add header symbol for parser.unexpected
This commit is contained in:
parent
a347e3993e
commit
362c02f8e1
1 changed files with 1 additions and 1 deletions
|
|
@ -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<T>(&self) -> Result<T> {
|
||||
// The lexer should have reported a more meaningful diagnostic
|
||||
|
|
|
|||
Loading…
Reference in a new issue