mirror of
https://github.com/veeso/termscp.git
synced 2026-07-25 00:57:18 +02:00
Clippy
This commit is contained in:
@@ -190,10 +190,7 @@ impl FileExplorer {
|
||||
pass
|
||||
})
|
||||
.collect::<Vec<_>>();
|
||||
match filtered.get(idx) {
|
||||
None => None,
|
||||
Some(file) => Some(file),
|
||||
}
|
||||
filtered.get(idx).copied()
|
||||
}
|
||||
|
||||
// Formatting
|
||||
|
||||
Reference in New Issue
Block a user