mirror of
https://github.com/nushell/nushell.git
synced 2025-05-05 18:44:24 +02:00
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:
parent
5ec823996a
commit
2bf0397d80
@ -10,7 +10,7 @@ homepage = "https://www.nushell.sh"
|
|||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "nu"
|
name = "nu"
|
||||||
repository = "https://github.com/nushell/nushell"
|
repository = "https://github.com/nushell/nushell"
|
||||||
rust-version = "1.83.0"
|
rust-version = "1.84.1"
|
||||||
version = "0.103.1"
|
version = "0.103.1"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
@ -40,7 +40,7 @@ pub fn has_trailing_slash(path: &Path) -> bool {
|
|||||||
#[cfg(target_arch = "wasm32")]
|
#[cfg(target_arch = "wasm32")]
|
||||||
pub fn has_trailing_slash(path: &Path) -> bool {
|
pub fn has_trailing_slash(path: &Path) -> bool {
|
||||||
// in the web paths are often just URLs, they are separated by forward slashes
|
// 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)]
|
#[cfg(test)]
|
||||||
|
@ -71,7 +71,7 @@ impl Default for DataFrameValue {
|
|||||||
|
|
||||||
impl PartialEq for DataFrameValue {
|
impl PartialEq for DataFrameValue {
|
||||||
fn eq(&self, other: &Self) -> bool {
|
fn eq(&self, other: &Self) -> bool {
|
||||||
self.0.partial_cmp(&other.0).map_or(false, Ordering::is_eq)
|
self.0.partial_cmp(&other.0).is_some_and(Ordering::is_eq)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
impl Eq for DataFrameValue {}
|
impl Eq for DataFrameValue {}
|
||||||
|
@ -66,7 +66,7 @@ impl WebTable {
|
|||||||
let mut tables = html
|
let mut tables = html
|
||||||
.select(&sel_table)
|
.select(&sel_table)
|
||||||
.filter(|table| {
|
.filter(|table| {
|
||||||
table.select(&sel_tr).next().map_or(false, |tr| {
|
table.select(&sel_tr).next().is_some_and(|tr| {
|
||||||
let cells = select_cells(tr, &sel_th, true);
|
let cells = select_cells(tr, &sel_th, true);
|
||||||
if inspect_mode {
|
if inspect_mode {
|
||||||
eprintln!("Potential HTML Headers = {:?}\n", &cells);
|
eprintln!("Potential HTML Headers = {:?}\n", &cells);
|
||||||
|
@ -16,4 +16,4 @@ profile = "default"
|
|||||||
# use in nushell, we may opt to use the bleeding edge stable version of rust.
|
# 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.
|
# 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.
|
# So, every two nushell releases, this version number should be bumped by one.
|
||||||
channel = "1.83.0"
|
channel = "1.84.1"
|
||||||
|
Loading…
Reference in New Issue
Block a user