historian.rs - panic cleanup
This commit is contained in:
parent
b7a0bd6347
commit
d69beaabe1
|
@ -53,7 +53,7 @@ impl Historian {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn receive(self: &Self) -> Result<Entry, TryRecvError> {
|
pub fn receive(self: &Self) -> Result<Entry, TryRecvError> {
|
||||||
self.output.lock().expect("failed 'output' lock in Historian").try_recv()
|
self.output.lock().expect("'output' lock in pub fn receive").try_recv()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue