mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-09 00:59:02 +03:00
chore: update deps and clippy (#569)
This commit is contained in:
1242
Cargo.lock
generated
1242
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -63,7 +63,7 @@ assert_cmd = "2"
|
|||||||
reqwest = { version = "0.12", features = ["blocking", "multipart", "rustls-tls"], default-features = false }
|
reqwest = { version = "0.12", features = ["blocking", "multipart", "rustls-tls"], default-features = false }
|
||||||
assert_fs = "1"
|
assert_fs = "1"
|
||||||
port_check = "0.2"
|
port_check = "0.2"
|
||||||
rstest = "0.23"
|
rstest = "0.25"
|
||||||
regex = "1"
|
regex = "1"
|
||||||
url = "2"
|
url = "2"
|
||||||
predicates = "3"
|
predicates = "3"
|
||||||
|
|||||||
@@ -1523,7 +1523,7 @@ impl PathItem {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn base_name(&self) -> &str {
|
pub fn base_name(&self) -> &str {
|
||||||
self.name.split('/').last().unwrap_or_default()
|
self.name.split('/').next_back().unwrap_or_default()
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn sort_by_name(&self, other: &Self) -> Ordering {
|
pub fn sort_by_name(&self, other: &Self) -> Ordering {
|
||||||
|
|||||||
Reference in New Issue
Block a user