typo
This commit is contained in:
parent
0000575ce0
commit
b26327e474
@ -68,7 +68,7 @@ impl<T> Sender<T> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Non-blocking send, handing you back ownership of the ocntent on **failure**
|
/// Non-blocking send, handing you back ownership of the content on **failure**
|
||||||
pub fn try_send<B: Into<Box<T>>>(&mut self, content: B) -> Option<Box<T>> {
|
pub fn try_send<B: Into<Box<T>>>(&mut self, content: B) -> Option<Box<T>> {
|
||||||
let ptr = Box::into_raw(content.into());
|
let ptr = Box::into_raw(content.into());
|
||||||
let entry = &self.channel[self.pos];
|
let entry = &self.channel[self.pos];
|
||||||
|
Loading…
Reference in New Issue
Block a user