diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2020-11-16 13:15:59 +0300 |
---|---|---|
committer | Sebastian Dröge <slomo@coaxion.net> | 2020-11-19 18:31:50 +0300 |
commit | df6a229f58cd83591ed1702bd95199436644d22e (patch) | |
tree | f4e3933f996859f26a22d8b9a438d7ea00902c48 /generic/threadshare/src/runtime | |
parent | d921ee2245b5d39342e932db283bced7462497ce (diff) |
Fix or silence various clippy warnings
Diffstat (limited to 'generic/threadshare/src/runtime')
-rw-r--r-- | generic/threadshare/src/runtime/task.rs | 2 |
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 }) }) |