diff options
| author | Cyril Marpaud <[email protected]> | 2025-03-31 13:07:03 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-03-31 13:07:03 +0200 |
| commit | f396579dff18eea80555ed56a4905ce9d9fab574 (patch) | |
| tree | 354ba9edb1b1ae638a17e24f781da019f6533055 | |
| parent | 154870b2c3475ecef9ef801035dce57ec3a6634a (diff) | |
docs: fix a typo
| -rw-r--r-- | embassy-sync/src/zerocopy_channel.rs | 2 |
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 | ||
| 197 | impl<'a, M: RawMutex, T> Receiver<'a, M, T> { | 197 | impl<'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 | } |
