We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e941cb0 commit 653dba0Copy full SHA for 653dba0
src/parser/mod.rs
@@ -7669,8 +7669,8 @@ impl<'a> Parser<'a> {
7669
pub fn parse_optional_using_then_index_type(
7670
&mut self,
7671
) -> Result<Option<IndexType>, ParserError> {
7672
- Ok(if self.parse_keyword(Keyword::USING) {
7673
- Some(self.parse_index_type()?)
+ if self.parse_keyword(Keyword::USING) {
+ Ok(Some(self.parse_index_type()?))
7674
} else {
7675
None
7676
})
0 commit comments