diff options
Diffstat (limited to 'embassy-sync/src/pipe.rs')
| -rw-r--r-- | embassy-sync/src/pipe.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/embassy-sync/src/pipe.rs b/embassy-sync/src/pipe.rs index 905686acd..1977005fb 100644 --- a/embassy-sync/src/pipe.rs +++ b/embassy-sync/src/pipe.rs | |||
| @@ -48,6 +48,7 @@ where | |||
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | /// Future returned by [`Pipe::write`] and [`Writer::write`]. | 50 | /// Future returned by [`Pipe::write`] and [`Writer::write`]. |
| 51 | #[must_use = "futures do nothing unless you `.await` or poll them"] | ||
| 51 | pub struct WriteFuture<'p, M, const N: usize> | 52 | pub struct WriteFuture<'p, M, const N: usize> |
| 52 | where | 53 | where |
| 53 | M: RawMutex, | 54 | M: RawMutex, |
| @@ -110,6 +111,7 @@ where | |||
| 110 | } | 111 | } |
| 111 | 112 | ||
| 112 | /// Future returned by [`Pipe::read`] and [`Reader::read`]. | 113 | /// Future returned by [`Pipe::read`] and [`Reader::read`]. |
| 114 | #[must_use = "futures do nothing unless you `.await` or poll them"] | ||
| 113 | pub struct ReadFuture<'p, M, const N: usize> | 115 | pub struct ReadFuture<'p, M, const N: usize> |
| 114 | where | 116 | where |
| 115 | M: RawMutex, | 117 | M: RawMutex, |
