Skip to content

Commit 588b84e

Browse files
Update src/parser/mod.rs
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
1 parent 7d6792a commit 588b84e

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/parser/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5230,7 +5230,6 @@ impl<'a> Parser<'a> {
52305230
Keyword::CONFIGURATION => Ok(TextSearchObjectType::Configuration),
52315231
Keyword::TEMPLATE => Ok(TextSearchObjectType::Template),
52325232
Keyword::PARSER => Ok(TextSearchObjectType::Parser),
5233-
// unreachable because expect_one_of_keywords used above
52345233
unexpected_keyword => Err(ParserError::ParserError(format!(
52355234
"Internal parser error: expected any of {{DICTIONARY, CONFIGURATION, TEMPLATE, PARSER}}, got {unexpected_keyword:?}"
52365235
))),

0 commit comments

Comments
 (0)