Skip to content

Commit

Permalink
chore: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
caelansar committed May 17, 2024
1 parent e0e0a05 commit 2521326
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/repl/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ pub fn repl<W: io::Write>(mut writer: W) -> io::Result<()> {

let obj = vm.last_popped();

global = vm.global.clone();
global.clone_from(&vm.global);
constants = bytecode.consts.to_vec();
symbol_table = compiler.symbol_table;

Expand Down

0 comments on commit 2521326

Please sign in to comment.