mirror of
https://github.com/sayanarijit/xplr
synced 2024-11-04 18:00:14 +00:00
No need to clone selection
This commit is contained in:
parent
b50ce48264
commit
a68fec0c11
@ -1331,7 +1331,6 @@ impl App {
|
||||
pub fn refresh_selection(mut self) -> Result<Self> {
|
||||
self.selection = self
|
||||
.selection
|
||||
.clone()
|
||||
.into_iter()
|
||||
.filter(|n| PathBuf::from(&n.absolute_path).exists())
|
||||
.collect();
|
||||
|
Loading…
Reference in New Issue
Block a user