mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-12-22 16:16:37 +00:00
Fix compiler warning about too many parenthesis
This commit is contained in:
parent
2d260b4f0c
commit
5ef13a11b0
2 changed files with 2 additions and 2 deletions
|
@ -272,7 +272,7 @@ fn example_main() -> Result<(), Error> {
|
|||
let ret = pipeline.set_state(gst::State::Null);
|
||||
assert_ne!(ret, gst::StateChangeReturn::Failure);
|
||||
|
||||
Ok((()))
|
||||
Ok(())
|
||||
}
|
||||
|
||||
fn main() {
|
||||
|
|
|
@ -210,7 +210,7 @@ fn example_main() -> Result<(), Error> {
|
|||
let ret = pipeline.set_state(gst::State::Null);
|
||||
assert_ne!(ret, gst::StateChangeReturn::Failure);
|
||||
|
||||
Ok((()))
|
||||
Ok(())
|
||||
}
|
||||
|
||||
fn main() {
|
||||
|
|
Loading…
Reference in a new issue