From acd2fe8c51eba9f3a707d596b1fae10d2986936f Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Fri, 2 Jun 2023 17:30:15 -0500 Subject: [PATCH] bump rust toolchain to 1.68.2 (#9346) # Description In keeping with our tradition of staying 2 versions behind the latest rust compiler version, this PR bump the toolchain to 1.68.2. # User-Facing Changes # Tests + Formatting # After Submitting --- crates/nu-command/src/filesystem/ls.rs | 18 ++++++++---------- rust-toolchain.toml | 2 +- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/crates/nu-command/src/filesystem/ls.rs b/crates/nu-command/src/filesystem/ls.rs index 057cf711a3..bf854742c3 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 37f65d079b..24309ea483 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"