mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 12:15:42 +02:00
Clippy fixes for toolchain bump (#13497)
- **Suggested default impl for the new `*Stack`s** - **Change a hashmap to make clippy happy** - **Clone from fix** - **Fix conditional unused in test** - then **Bump rust toolchain**
This commit is contained in:
committed by
GitHub
parent
d2bf82d22b
commit
813aac89bd
@ -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(
|
||||
|
Reference in New Issue
Block a user