mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-18 00:01:24 +01:00
enable let_underscore_must_use lint
This commit is contained in:
parent
2ded335adb
commit
052f3088e9
12 changed files with 69 additions and 32 deletions
|
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue