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:
sholderbach 2024-07-25 22:54:17 +02:00
parent 4d9c582142
commit 9cfacbea12

View File

@ -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(