diff options
| author | Tolmachev Igor <me@igorek.dev> | 2026-05-10 16:34:29 +0300 |
|---|---|---|
| committer | Tolmachev Igor <me@igorek.dev> | 2026-05-10 16:34:29 +0300 |
| commit | 7163aaebc993591db1cb4d7ae2be31669a0cb9a7 (patch) | |
| tree | ea1a289c774d55e86954603b017e1ff3be334f10 /compiler/src/ast/parser.rs | |
| parent | 843242e692280d604b74324ba26ead6158223439 (diff) | |
| download | crisp-7163aaebc993591db1cb4d7ae2be31669a0cb9a7.tar.gz crisp-7163aaebc993591db1cb4d7ae2be31669a0cb9a7.zip | |
Rename variable
Diffstat (limited to 'compiler/src/ast/parser.rs')
| -rw-r--r-- | compiler/src/ast/parser.rs | 2 |
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 | ||
