Fix panic warning

This commit is contained in:
Alexandre Bury 2021-02-12 14:23:54 -08:00
parent 76e00682d5
commit 8e252e176b

View File

@ -80,7 +80,7 @@ impl backend::Backend for Backend {
match self.inner_receiver.try_recv() {
Ok(event) => event,
Err(TryRecvError::Empty) => None,
Err(e) => panic!(e),
Err(e) => panic!("{}", e),
}
}