aboutsummaryrefslogtreecommitdiff
path: root/embassy-sync/src/pipe.rs
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2023-06-27 23:49:12 +0200
committerDario Nieuwenhuis <[email protected]>2023-06-27 23:49:12 +0200
commitf5ca687e9bbeb81ce24f56db6cd7defbcb5c2db2 (patch)
tree3fbdd8c0fde94fd8bb77647c91e4079842c357a4 /embassy-sync/src/pipe.rs
parent219ef5b37a1dff5f6e770da252ec010d55c43257 (diff)
sync/pipe: fix doc typos.
Diffstat (limited to 'embassy-sync/src/pipe.rs')
-rw-r--r--embassy-sync/src/pipe.rs4
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