docs: fix a typo
This commit is contained in:
parent
154870b2c3
commit
f396579dff
@ -195,7 +195,7 @@ pub struct Receiver<'a, M: RawMutex, T> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl<'a, M: RawMutex, T> Receiver<'a, M, T> {
|
impl<'a, M: RawMutex, T> Receiver<'a, M, T> {
|
||||||
/// Creates one further [`Sender`] over the same channel.
|
/// Creates one further [`Receiver`] over the same channel.
|
||||||
pub fn borrow(&mut self) -> Receiver<'_, M, T> {
|
pub fn borrow(&mut self) -> Receiver<'_, M, T> {
|
||||||
Receiver { channel: self.channel }
|
Receiver { channel: self.channel }
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user