actually fix all let_underscore_must_use lints

CI caught some more

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-05-24 19:20:19 -04:00 committed by June 🍓🦴
parent 0877ee6191
commit 6269822613
8 changed files with 54 additions and 21 deletions

View file

@ -79,11 +79,13 @@ impl RotationHandler {
pub fn watch(&self) -> impl Future<Output = ()> {
let mut r = self.0.subscribe();
#[allow(clippy::let_underscore_must_use)]
async move {
_ = r.recv().await;
}
}
#[allow(clippy::let_underscore_must_use)]
pub fn fire(&self) { _ = self.0.send(()); }
}