docs: fix a typo

This commit is contained in:
Cyril Marpaud 2025-03-31 13:07:03 +02:00 committed by GitHub
parent 154870b2c3
commit f396579dff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -195,7 +195,7 @@ pub struct Receiver<'a, M: RawMutex, 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> {
Receiver { channel: self.channel }
}