mirror of
https://github.com/chatmail/core.git
synced 2026-04-20 15:06:30 +03:00
Fix nightly clippy and rustc errors
This commit is contained in:
@@ -500,7 +500,7 @@ impl Drop for TestContext {
|
||||
fn drop(&mut self) {
|
||||
if !thread::panicking() {
|
||||
if let Ok(p) = self.poison_receiver.try_recv() {
|
||||
panic!(p);
|
||||
panic!("{}", p);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user