forked from M-Labs/zynq-rs
1
0
Fork 0
This commit is contained in:
Sebastien Bourdeauducq 2020-04-13 10:39:38 +08:00
parent 0000575ce0
commit b26327e474
1 changed files with 1 additions and 1 deletions

View File

@ -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>> {
let ptr = Box::into_raw(content.into());
let entry = &self.channel[self.pos];