1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-11-20 12:02:22 +03:00

Bump clippy checks to 1.73.0

This commit is contained in:
Quentin Gliech
2023-11-13 15:54:28 +01:00
parent 89420a2cfc
commit b2b88e11bf
3 changed files with 7 additions and 7 deletions

View File

@@ -154,7 +154,7 @@ impl ActivityTracker {
let res = self.channel.send(Message::Flush(tx)).await;
match res {
Ok(_) => {
Ok(()) => {
if let Err(e) = rx.await {
tracing::error!("Failed to flush activity tracker: {}", e);
}
@@ -172,12 +172,12 @@ impl ActivityTracker {
biased;
// First check if the channel is closed, then check if the timer expired
_ = self.channel.closed() => {
() = self.channel.closed() => {
// The channel was closed, so we should exit
break;
}
_ = tokio::time::sleep(interval) => {
() = tokio::time::sleep(interval) => {
self.flush().await;
}
}
@@ -192,7 +192,7 @@ impl ActivityTracker {
let res = self.channel.send(Message::Shutdown(tx)).await;
match res {
Ok(_) => {
Ok(()) => {
if let Err(e) = rx.await {
tracing::error!("Failed to shutdown activity tracker: {}", e);
}