Clone from fix
(not sure if there is an actual benefit here, I thought `Arc` did not have specialization here)
This commit is contained in:
parent
4d9c582142
commit
9cfacbea12
|
@ -198,7 +198,7 @@ pub fn redirect_env(engine_state: &EngineState, caller_stack: &mut Stack, callee
|
|||
}
|
||||
|
||||
// set config to callee config, to capture any updates to that
|
||||
caller_stack.config = callee_stack.config.clone();
|
||||
caller_stack.config.clone_from(&callee_stack.config);
|
||||
}
|
||||
|
||||
fn eval_external(
|
||||
|
|
Loading…
Reference in New Issue
Block a user