Skip to content

Commit

Permalink
chore: add clone to Runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
skanehira committed Sep 17, 2023
1 parent b3da5a8 commit c5145d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/execution/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use std::cell::RefCell;
use std::io::Read;
use std::rc::Rc;

#[derive(Default)]
#[derive(Default, Clone)]
pub struct Runtime {
pub store: Rc<RefCell<Store>>,
pub stack: Vec<Value>,
Expand Down

0 comments on commit c5145d1

Please sign in to comment.