Fix compiler warning about too many parenthesis

This commit is contained in:
Sebastian Dröge 2018-04-23 20:46:29 +03:00
parent 2d260b4f0c
commit 5ef13a11b0
2 changed files with 2 additions and 2 deletions

View file

@ -272,7 +272,7 @@ fn example_main() -> Result<(), Error> {
let ret = pipeline.set_state(gst::State::Null); let ret = pipeline.set_state(gst::State::Null);
assert_ne!(ret, gst::StateChangeReturn::Failure); assert_ne!(ret, gst::StateChangeReturn::Failure);
Ok((())) Ok(())
} }
fn main() { fn main() {

View file

@ -210,7 +210,7 @@ fn example_main() -> Result<(), Error> {
let ret = pipeline.set_state(gst::State::Null); let ret = pipeline.set_state(gst::State::Null);
assert_ne!(ret, gst::StateChangeReturn::Failure); assert_ne!(ret, gst::StateChangeReturn::Failure);
Ok((())) Ok(())
} }
fn main() { fn main() {