diff options
Diffstat (limited to 'embassy-futures/src/yield_now.rs')
| -rw-r--r-- | embassy-futures/src/yield_now.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/embassy-futures/src/yield_now.rs b/embassy-futures/src/yield_now.rs index 13b103778..bb3c67d17 100644 --- a/embassy-futures/src/yield_now.rs +++ b/embassy-futures/src/yield_now.rs | |||
| @@ -24,6 +24,7 @@ pub fn yield_now() -> impl Future<Output = ()> { | |||
| 24 | YieldNowFuture { yielded: false } | 24 | YieldNowFuture { yielded: false } |
| 25 | } | 25 | } |
| 26 | 26 | ||
| 27 | #[must_use = "futures do nothing unless you `.await` or poll them"] | ||
| 27 | struct YieldNowFuture { | 28 | struct YieldNowFuture { |
| 28 | yielded: bool, | 29 | yielded: bool, |
| 29 | } | 30 | } |
