enable let_underscore_must_use lint

This commit is contained in:
Charles Hall 2024-05-12 17:02:08 -07:00
parent 2ded335adb
commit 052f3088e9
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
12 changed files with 69 additions and 32 deletions

View file

@ -92,12 +92,12 @@ impl RotationHandler {
let mut r = self.0.subscribe();
async move {
let _ = r.recv().await;
r.recv().await.expect("should receive a message");
}
}
pub(crate) fn fire(&self) {
let _ = self.0.send(());
self.0.send(()).expect("should be able to send message");
}
}