aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/ast/parser.rs
diff options
context:
space:
mode:
authorTolmachev Igor <me@igorek.dev>2026-05-10 16:34:29 +0300
committerTolmachev Igor <me@igorek.dev>2026-05-10 16:34:29 +0300
commit7163aaebc993591db1cb4d7ae2be31669a0cb9a7 (patch)
treeea1a289c774d55e86954603b017e1ff3be334f10 /compiler/src/ast/parser.rs
parent843242e692280d604b74324ba26ead6158223439 (diff)
downloadcrisp-7163aaebc993591db1cb4d7ae2be31669a0cb9a7.tar.gz
crisp-7163aaebc993591db1cb4d7ae2be31669a0cb9a7.zip
Rename variable
Diffstat (limited to 'compiler/src/ast/parser.rs')
-rw-r--r--compiler/src/ast/parser.rs2
1 files changed, 1 insertions, 1 deletions
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
86 86
87 fn parse_expr(&mut self) -> Result<Spanned<Expr>, Spanned<Error>> { 87 fn parse_expr(&mut self) -> Result<Spanned<Expr>, Spanned<Error>> {
88 let Spanned { inner: token, span } = match self.peek() { 88 let Spanned { inner: token, span } = match self.peek() {
89 Some(spanned) => spanned, 89 Some(token) => token,
90 None => return Err(Spanned::new(Error::UnexpectedEof, self.last_token_span)), 90 None => return Err(Spanned::new(Error::UnexpectedEof, self.last_token_span)),
91 }; 91 };
92 92