diff options
| author | xoviat <[email protected]> | 2023-07-01 17:32:25 -0500 |
|---|---|---|
| committer | xoviat <[email protected]> | 2023-07-01 17:32:25 -0500 |
| commit | 8141d53d94d6bec837c334d1e313d751bbebaac2 (patch) | |
| tree | 627369dc612da0aba4ac8f82cc0b1a8615ab363b /embassy-sync/src/pipe.rs | |
| parent | 21a86531955facbdba5583b5218e20f1ca6dc23e (diff) | |
| parent | ba4344429264fa7beb99ab19c09059c2d531716d (diff) | |
Merge branch 'main' of https://github.com/embassy-rs/embassy into hrtim
Diffstat (limited to 'embassy-sync/src/pipe.rs')
| -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 |
