fix clippy

This commit is contained in:
Stephan Dilly 2020-04-03 22:18:20 +02:00
parent 9ac915212a
commit 0a91b749dd

View file

@ -124,7 +124,7 @@ impl ChangesComponent {
if let Some(i) = self.selection() {
self.queue
.borrow_mut()
.push_back(InternalEvent::ResetFile(i.path.clone()));
.push_back(InternalEvent::ResetFile(i.path));
return true;
}