mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
dep: Upgrade transitive dependencies (#1651)
* dep: Upgrade transitive dependencies * Apply clippy suggestions * Apply clippy suggestion --------- Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
0e9e505697
commit
d76e2d8d77
3 changed files with 75 additions and 73 deletions
|
@ -38,6 +38,6 @@ impl AbstractFilesystem for Vfs {
|
|||
fn file_names_in(&self, rel_path: &str) -> io::Result<HashSet<Box<str>>> {
|
||||
let rel_path = Path::new(rel_path).normalize();
|
||||
|
||||
Ok(self.0.get(&*rel_path).map(Clone::clone).unwrap_or_default())
|
||||
Ok(self.0.get(&*rel_path).cloned().unwrap_or_default())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue