mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 22:50:14 +02:00
Clippy with the current stable toolchain (#6615)
Fix lints that are coming with rust 1.64 Passes with the earlier toolchain from `rust-toolchain.toml` as well.
This commit is contained in:
committed by
GitHub
parent
f44473d510
commit
f7647584a3
@ -662,9 +662,7 @@ pub fn eval_string_with_input(
|
||||
(output, working_set.render())
|
||||
};
|
||||
|
||||
if let Err(err) = engine_state.merge_delta(delta) {
|
||||
return Err(err);
|
||||
}
|
||||
engine_state.merge_delta(delta)?;
|
||||
|
||||
let input_as_pipeline_data = match input {
|
||||
Some(input) => PipelineData::Value(input, None),
|
||||
|
Reference in New Issue
Block a user