From 5ed7b087fd52f234e12660ca5253696a336160a2 Mon Sep 17 00:00:00 2001 From: XFFXFF <1247714429@qq.com> Date: Tue, 7 Nov 2023 21:17:08 +0800 Subject: [PATCH] make clippy happy --- components/lox-execute/src/vm.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/lox-execute/src/vm.rs b/components/lox-execute/src/vm.rs index d462b8b..1be96e7 100644 --- a/components/lox-execute/src/vm.rs +++ b/components/lox-execute/src/vm.rs @@ -201,8 +201,8 @@ impl VM { Self { frames: vec![frame], - heap: heap, - stack: stack, + heap, + stack, globals: HashMap::new(), output: String::new(), }