mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 16:45:33 +02:00
bump rust-toolchain to 1.64 (#7005)
* bump rust-toolchain to 1.64 * 1.64 clippy
This commit is contained in:
@ -79,7 +79,7 @@ where
|
||||
) -> Result<nu_protocol::PipelineData, nu_protocol::ShellError> {
|
||||
let binary = call.has_flag("binary");
|
||||
let cell_paths: Vec<CellPath> = call.rest(engine_state, stack, 0)?;
|
||||
let cell_paths = (!cell_paths.is_empty()).then(|| cell_paths);
|
||||
let cell_paths = (!cell_paths.is_empty()).then_some(cell_paths);
|
||||
let args = Arguments { binary, cell_paths };
|
||||
operate(
|
||||
action::<D>,
|
||||
|
Reference in New Issue
Block a user