cargo clippy
This commit is contained in:
@@ -127,7 +127,7 @@ impl ContextMenu {
|
||||
true => "Unsave track",
|
||||
false => "Save track",
|
||||
},
|
||||
ContextMenuAction::ToggleTrackSavedStatus(Box::new(t.clone())),
|
||||
ContextMenuAction::ToggleTrackSavedStatus(Box::new(t)),
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -74,7 +74,7 @@ impl ViewExt for PlaylistView {
|
||||
|
||||
if let Command::Sort(key, direction) = cmd {
|
||||
self.list.sort(key, direction);
|
||||
return Ok(CommandResult::Consumed(None))
|
||||
return Ok(CommandResult::Consumed(None));
|
||||
}
|
||||
|
||||
self.list.on_command(s, cmd)
|
||||
|
||||
Reference in New Issue
Block a user