bump to the latest rust version (#15483)

# Description

This PR bumps nushell to use the latest rust version 1.84.1.
This commit is contained in:
Darren Schroeder
2025-04-03 14:08:59 -05:00
committed by GitHub
parent 5ec823996a
commit 2bf0397d80
5 changed files with 5 additions and 5 deletions

View File

@ -40,7 +40,7 @@ pub fn has_trailing_slash(path: &Path) -> bool {
#[cfg(target_arch = "wasm32")]
pub fn has_trailing_slash(path: &Path) -> bool {
// in the web paths are often just URLs, they are separated by forward slashes
path.to_str().map_or(false, |s| s.ends_with('/'))
path.to_str().is_some_and(|s| s.ends_with('/'))
}
#[cfg(test)]