Merge pull request #4026 from cyril-marpaud/patch-3

docs: fix a typo
This commit is contained in:
Dario Nieuwenhuis 2025-03-31 11:13:30 +00:00 committed by GitHub
commit 4d9b41714d
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 }
}