diff --git a/crates/nu-command/src/filesystem/ls.rs b/crates/nu-command/src/filesystem/ls.rs index 057cf711a..bf854742c 100644 --- a/crates/nu-command/src/filesystem/ls.rs +++ b/crates/nu-command/src/filesystem/ls.rs @@ -835,16 +835,14 @@ mod windows_helper { &mut find_data, ) { Ok(_) => Ok(find_data), - Err(e) => { - return Err(ShellError::ReadingFile( - format!( - "Could not read metadata for '{}':\n '{}'", - filename.to_string_lossy(), - e - ), - span, - )); - } + Err(e) => Err(ShellError::ReadingFile( + format!( + "Could not read metadata for '{}':\n '{}'", + filename.to_string_lossy(), + e + ), + span, + )), } } } diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 37f65d079..24309ea48 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -16,5 +16,5 @@ profile = "default" # use in nushell, we may opt to use the bleeding edge stable version of rust. # I believe rust is on a 6 week release cycle and nushell is on a 3 week release cycle. # So, every two nushell releases, this version number should be bumped by one. -channel = "1.67.1" +channel = "1.68.2"