Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2022-06-28 14:52:20 +0300
committerSebastian Dröge <sebastian@centricular.com>2022-06-28 14:52:20 +0300
commitcb842064572262d3e477416abf4fe09bb50d4a7c (patch)
tree0b58190a6168d84e71537dc7ec790781f4ef82f2 /generic/threadshare/src/udpsink
parent5c00db62b785d5455848b2780acd319be64e120b (diff)
Fix a couple of new 1.62 clippy warnings
Diffstat (limited to 'generic/threadshare/src/udpsink')
-rw-r--r--generic/threadshare/src/udpsink/imp.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/generic/threadshare/src/udpsink/imp.rs b/generic/threadshare/src/udpsink/imp.rs
index 287f2570f..1dd8935b5 100644
--- a/generic/threadshare/src/udpsink/imp.rs
+++ b/generic/threadshare/src/udpsink/imp.rs
@@ -530,9 +530,7 @@ impl UdpSinkPadHandler {
let now = element.current_running_time();
match running_time.into().opt_checked_sub(now) {
- Ok(Some(delay)) => {
- let _ = runtime::time::delay_for(delay.into()).await;
- }
+ Ok(Some(delay)) => runtime::time::delay_for(delay.into()).await,
_ => runtime::executor::yield_now().await,
}
}