From 4989c504091ded8b4b1a23f16637d7f343b84886 Mon Sep 17 00:00:00 2001 From: Alessandro Coglio Date: Sat, 14 May 2022 00:03:55 -0700 Subject: [PATCH] [parser] Attempt to fix style check. --- compiler/parser/src/parser/statement.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/compiler/parser/src/parser/statement.rs b/compiler/parser/src/parser/statement.rs index 273587be2e..3c954832fb 100644 --- a/compiler/parser/src/parser/statement.rs +++ b/compiler/parser/src/parser/statement.rs @@ -220,7 +220,6 @@ impl ParserContext<'_> { /// Returns a [`VariableName`] AST node if the next tokens represent a variable name with /// valid keywords. pub fn parse_variable_name(&mut self, decl_ty: Declare, _span: Span) -> Result { - let name = self.expect_ident()?; Ok(VariableName { span: name.span,