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:
@@ -1523,7 +1523,7 @@ impl PathItem {
|
||||
}
|
||||
|
||||
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 {
|
||||
|
||||
Reference in New Issue
Block a user