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>2020-11-16 13:15:59 +0300
committerSebastian Dröge <slomo@coaxion.net>2020-11-19 18:31:50 +0300
commitdf6a229f58cd83591ed1702bd95199436644d22e (patch)
treef4e3933f996859f26a22d8b9a438d7ea00902c48 /generic/threadshare/src/runtime
parentd921ee2245b5d39342e932db283bced7462497ce (diff)
Fix or silence various clippy warnings
Diffstat (limited to 'generic/threadshare/src/runtime')
-rw-r--r--generic/threadshare/src/runtime/task.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/threadshare/src/runtime/task.rs b/generic/threadshare/src/runtime/task.rs
index 777ff688d..000473e31 100644
--- a/generic/threadshare/src/runtime/task.rs
+++ b/generic/threadshare/src/runtime/task.rs
@@ -657,7 +657,7 @@ impl Task {
res
})
- .unwrap_or_else(|| {
+ .unwrap_or({
// Future was spawned as a subtask
Ok(TransitionStatus::Async { trigger, origin })
})