diff options
| -rw-r--r-- | embassy-sync/src/pipe.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-sync/src/pipe.rs b/embassy-sync/src/pipe.rs index db6ebb08b..13bf4ef01 100644 --- a/embassy-sync/src/pipe.rs +++ b/embassy-sync/src/pipe.rs | |||
| @@ -282,7 +282,7 @@ where | |||
| 282 | /// returns the amount of bytes written. | 282 | /// returns the amount of bytes written. |
| 283 | /// | 283 | /// |
| 284 | /// If it is not possible to write a nonzero amount of bytes because the pipe's buffer is full, | 284 | /// If it is not possible to write a nonzero amount of bytes because the pipe's buffer is full, |
| 285 | /// this method will wait until it is. See [`try_write`](Self::try_write) for a variant that | 285 | /// this method will wait until it isn't. See [`try_write`](Self::try_write) for a variant that |
| 286 | /// returns an error instead of waiting. | 286 | /// returns an error instead of waiting. |
| 287 | /// | 287 | /// |
| 288 | /// It is not guaranteed that all bytes in the buffer are written, even if there's enough | 288 | /// It is not guaranteed that all bytes in the buffer are written, even if there's enough |
| @@ -319,7 +319,7 @@ where | |||
| 319 | /// returns the amount of bytes read. | 319 | /// returns the amount of bytes read. |
| 320 | /// | 320 | /// |
| 321 | /// If it is not possible to read a nonzero amount of bytes because the pipe's buffer is empty, | 321 | /// If it is not possible to read a nonzero amount of bytes because the pipe's buffer is empty, |
| 322 | /// this method will wait until it is. See [`try_read`](Self::try_read) for a variant that | 322 | /// this method will wait until it isn't. See [`try_read`](Self::try_read) for a variant that |
| 323 | /// returns an error instead of waiting. | 323 | /// returns an error instead of waiting. |
| 324 | /// | 324 | /// |
| 325 | /// It is not guaranteed that all bytes in the buffer are read, even if there's enough | 325 | /// It is not guaranteed that all bytes in the buffer are read, even if there's enough |
