aboutsummaryrefslogtreecommitdiff
path: root/embassy-sync
diff options
context:
space:
mode:
authorCyril Marpaud <[email protected]>2025-03-31 13:07:03 +0200
committerGitHub <[email protected]>2025-03-31 13:07:03 +0200
commitf396579dff18eea80555ed56a4905ce9d9fab574 (patch)
tree354ba9edb1b1ae638a17e24f781da019f6533055 /embassy-sync
parent154870b2c3475ecef9ef801035dce57ec3a6634a (diff)
docs: fix a typo
Diffstat (limited to 'embassy-sync')
-rw-r--r--embassy-sync/src/zerocopy_channel.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-sync/src/zerocopy_channel.rs b/embassy-sync/src/zerocopy_channel.rs
index ad6fe74c5..e3e5b2538 100644
--- a/embassy-sync/src/zerocopy_channel.rs
+++ b/embassy-sync/src/zerocopy_channel.rs
@@ -195,7 +195,7 @@ pub struct Receiver<'a, M: RawMutex, T> {
195} 195}
196 196
197impl<'a, M: RawMutex, T> Receiver<'a, M, T> { 197impl<'a, M: RawMutex, T> Receiver<'a, M, T> {
198 /// Creates one further [`Sender`] over the same channel. 198 /// Creates one further [`Receiver`] over the same channel.
199 pub fn borrow(&mut self) -> Receiver<'_, M, T> { 199 pub fn borrow(&mut self) -> Receiver<'_, M, T> {
200 Receiver { channel: self.channel } 200 Receiver { channel: self.channel }
201 } 201 }