From 7163aaebc993591db1cb4d7ae2be31669a0cb9a7 Mon Sep 17 00:00:00 2001 From: Tolmachev Igor Date: Sun, 10 May 2026 16:34:29 +0300 Subject: Rename variable --- compiler/src/ast/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/src') diff --git a/compiler/src/ast/parser.rs b/compiler/src/ast/parser.rs index c0ad917..4b4f949 100644 --- a/compiler/src/ast/parser.rs +++ b/compiler/src/ast/parser.rs @@ -86,7 +86,7 @@ where fn parse_expr(&mut self) -> Result, Spanned> { let Spanned { inner: token, span } = match self.peek() { - Some(spanned) => spanned, + Some(token) => token, None => return Err(Spanned::new(Error::UnexpectedEof, self.last_token_span)), }; -- cgit v1.3