diff --git a/src/lib.rs b/src/lib.rs index d38ef29..31e5017 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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), } }