From 8def4192c8674106f7677fc5a94c43b6f87c6a63 Mon Sep 17 00:00:00 2001 From: Michael Elia Date: Sun, 14 Dec 2025 13:44:44 -0500 Subject: embassy-sync: Update `Pipe::try_write` docs --- embassy-sync/src/pipe.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'embassy-sync') diff --git a/embassy-sync/src/pipe.rs b/embassy-sync/src/pipe.rs index 215a556d9..d6c21299a 100644 --- a/embassy-sync/src/pipe.rs +++ b/embassy-sync/src/pipe.rs @@ -393,7 +393,7 @@ where /// Attempt to immediately write some bytes to the pipe. /// /// This method will either write a nonzero amount of bytes to the pipe immediately, - /// or return an error if the pipe is empty. See [`write`](Self::write) for a variant + /// or return an error if the pipe is full. See [`write`](Self::write) for a variant /// that waits instead of returning an error. pub fn try_write(&self, buf: &[u8]) -> Result { self.try_write_with_context(None, buf) -- cgit