auto formatting

pull/1/head
jole 2022-07-19 21:06:47 +02:00
parent be2132735b
commit 71b148cce4
1 changed files with 3 additions and 7 deletions

View File

@ -54,7 +54,7 @@ pub enum MpvCommand {
},
Observe {
id: isize,
property: String
property: String,
},
PlaylistNext,
PlaylistPrev,
@ -488,9 +488,7 @@ impl Mpv {
},
],
),
MpvCommand::Observe { id, property } => {
observe_mpv_property(self, &id, &property)
}
MpvCommand::Observe { id, property } => observe_mpv_property(self, &id, &property),
MpvCommand::PlaylistClear => run_mpv_command(self, "playlist-clear", &[]),
MpvCommand::PlaylistMove { from, to } => {
run_mpv_command(self, "playlist-move", &[&from.to_string(), &to.to_string()])
@ -516,9 +514,7 @@ impl Mpv {
],
),
MpvCommand::Stop => run_mpv_command(self, "stop", &[]),
MpvCommand::Unobserve(id) => {
unobserve_mpv_property(self, &id)
}
MpvCommand::Unobserve(id) => unobserve_mpv_property(self, &id),
}
}