forked from extern/nushell
bump rust-toolchain to 1.64 (#7005)
* bump rust-toolchain to 1.64 * 1.64 clippy
This commit is contained in:
@ -68,7 +68,7 @@ impl Command for SubCommand {
|
||||
let range = call.req(engine_state, stack, 0)?;
|
||||
let indexes: Substring = process_arguments(&range, call.head)?.into();
|
||||
let cell_paths: Vec<CellPath> = call.rest(engine_state, stack, 1)?;
|
||||
let cell_paths = (!cell_paths.is_empty()).then(|| cell_paths);
|
||||
let cell_paths = (!cell_paths.is_empty()).then_some(cell_paths);
|
||||
let args = Arguments {
|
||||
indexes,
|
||||
cell_paths,
|
||||
|
Reference in New Issue
Block a user