aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2025-03-31 11:13:30 +0000
committerGitHub <[email protected]>2025-03-31 11:13:30 +0000
commit4d9b41714da77d82811f39bd6feabe161e93552c (patch)
tree354ba9edb1b1ae638a17e24f781da019f6533055
parent154870b2c3475ecef9ef801035dce57ec3a6634a (diff)
parentf396579dff18eea80555ed56a4905ce9d9fab574 (diff)
Merge pull request #4026 from cyril-marpaud/patch-3
docs: fix a typo
-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 }