From 4e5db5109160e7f888fd10f5d10940a6d5b321ca Mon Sep 17 00:00:00 2001 From: peony Date: Sun, 3 Nov 2024 14:54:18 +0100 Subject: [PATCH] another quick git test --- lang/src/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/src/parser.rs b/lang/src/parser.rs index 4718098..91de4b5 100644 --- a/lang/src/parser.rs +++ b/lang/src/parser.rs @@ -136,7 +136,7 @@ impl<'a, 'b> Parser<'a, 'b> { f } - fn next(&mut self) -> Token { + fn next(&mut self) -> Token { core::mem::replace(&mut self.token, self.lexer.eat()) }