From 5ef13a11b01d32c4ecbbd83167aa67348b672556 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 23 Apr 2018 20:46:29 +0300 Subject: [PATCH] Fix compiler warning about too many parenthesis --- examples/src/bin/rtpfecclient.rs | 2 +- examples/src/bin/rtpfecserver.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/src/bin/rtpfecclient.rs b/examples/src/bin/rtpfecclient.rs index 9cf655e40..ac8da9f9d 100644 --- a/examples/src/bin/rtpfecclient.rs +++ b/examples/src/bin/rtpfecclient.rs @@ -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() { diff --git a/examples/src/bin/rtpfecserver.rs b/examples/src/bin/rtpfecserver.rs index eec7edc7a..e35451de4 100644 --- a/examples/src/bin/rtpfecserver.rs +++ b/examples/src/bin/rtpfecserver.rs @@ -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() {