bump rust-toolchain to 1.64 (#7005)

* bump rust-toolchain to 1.64

* 1.64 clippy
This commit is contained in:
Darren Schroeder
2022-11-04 10:27:23 -05:00
committed by GitHub
parent ca9bf19041
commit bb968304da
27 changed files with 27 additions and 27 deletions

View File

@ -61,7 +61,7 @@ impl Command for FileSize {
.as_string()?
.to_ascii_lowercase();
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 arg = Arguments {
format_value,
cell_paths,