From d51e82f33b17ffc03550822c66025f25cdc1ca40 Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Fri, 6 Oct 2023 16:29:58 -0500 Subject: [PATCH] bump rust-toolchain to 1.71.1 (#10634) # Description This PR bumps the rust toolchain to 1.71.1 # User-Facing Changes # Tests + Formatting # After Submitting --- crates/nu-glob/src/lib.rs | 4 ++-- rust-toolchain.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/nu-glob/src/lib.rs b/crates/nu-glob/src/lib.rs index 04549e23c2..d9bdf4e66b 100644 --- a/crates/nu-glob/src/lib.rs +++ b/crates/nu-glob/src/lib.rs @@ -1161,10 +1161,10 @@ mod test { // check windows absolute paths with host/device components let root_with_device = current_dir() .ok() - .and_then(|p| match p.components().next().unwrap() { + .map(|p| match p.components().next().unwrap() { Component::Prefix(prefix_component) => { let path = Path::new(prefix_component.as_os_str()).join("*"); - Some(path) + path } _ => panic!("no prefix in this path"), }) diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 45d35de0ac..97578b5127 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -16,4 +16,4 @@ 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 4 week release cycle. # So, every two nushell releases, this version number should be bumped by one. -channel = "1.70.0" +channel = "1.71.1"