diff options
Diffstat (limited to 'embassy-sync/src/pipe.rs')
| -rw-r--r-- | embassy-sync/src/pipe.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/embassy-sync/src/pipe.rs b/embassy-sync/src/pipe.rs index 2598652d2..df3b28b45 100644 --- a/embassy-sync/src/pipe.rs +++ b/embassy-sync/src/pipe.rs | |||
| @@ -152,7 +152,7 @@ where | |||
| 152 | 152 | ||
| 153 | impl<'p, M, const N: usize> Unpin for ReadFuture<'p, M, N> where M: RawMutex {} | 153 | impl<'p, M, const N: usize> Unpin for ReadFuture<'p, M, N> where M: RawMutex {} |
| 154 | 154 | ||
| 155 | /// Future returned by [`Pipe::fill_buf`] and [`Reader::fill_buf`]. | 155 | /// Future returned by [`Reader::fill_buf`]. |
| 156 | #[must_use = "futures do nothing unless you `.await` or poll them"] | 156 | #[must_use = "futures do nothing unless you `.await` or poll them"] |
| 157 | pub struct FillBufFuture<'p, M, const N: usize> | 157 | pub struct FillBufFuture<'p, M, const N: usize> |
| 158 | where | 158 | where |
| @@ -587,7 +587,7 @@ where | |||
| 587 | } | 587 | } |
| 588 | } | 588 | } |
| 589 | 589 | ||
| 590 | /// Write-only access to a [`DynamicPipe`]. | 590 | /// Write-only access to the dynamic pipe. |
| 591 | pub struct DynamicWriter<'p> { | 591 | pub struct DynamicWriter<'p> { |
| 592 | pipe: &'p dyn DynamicPipe, | 592 | pipe: &'p dyn DynamicPipe, |
| 593 | } | 593 | } |
| @@ -657,7 +657,7 @@ where | |||
| 657 | } | 657 | } |
| 658 | } | 658 | } |
| 659 | 659 | ||
| 660 | /// Read-only access to a [`DynamicPipe`]. | 660 | /// Read-only access to a dynamic pipe. |
| 661 | pub struct DynamicReader<'p> { | 661 | pub struct DynamicReader<'p> { |
| 662 | pipe: &'p dyn DynamicPipe, | 662 | pipe: &'p dyn DynamicPipe, |
| 663 | } | 663 | } |
| @@ -742,7 +742,7 @@ where | |||
| 742 | } | 742 | } |
| 743 | } | 743 | } |
| 744 | 744 | ||
| 745 | /// Future returned by [`DynamicPipe::fill_buf`] and [`DynamicReader::fill_buf`]. | 745 | /// Future returned by [`DynamicReader::fill_buf`]. |
| 746 | #[must_use = "futures do nothing unless you `.await` or poll them"] | 746 | #[must_use = "futures do nothing unless you `.await` or poll them"] |
| 747 | pub struct DynamicFillBufFuture<'p> { | 747 | pub struct DynamicFillBufFuture<'p> { |
| 748 | pipe: Option<&'p dyn DynamicPipe>, | 748 | pipe: Option<&'p dyn DynamicPipe>, |
