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 authored and June 🍓🦴 committed 2024-05-25 22:28:43 -04:00
1 parent 0877ee6191
commit 6269822613
8 files changed
+54 -21

No files matched your search

+9 -2
View File
@@ -317,7 +317,11 @@ pub(crate) async fn sync_events_route(
if duration.as_secs() > 30 {
duration = Duration::from_secs(30);
}
_ = tokio::time::timeout(duration, watcher).await;
#[allow(clippy::let_underscore_must_use)]
{
_ = tokio::time::timeout(duration, watcher).await;
}
}
Ok(response)
@@ -1594,7 +1598,10 @@ pub(crate) async fn sync_events_v4_route(
if duration.as_secs() > 30 {
duration = Duration::from_secs(30);
}
_ = tokio::time::timeout(duration, watcher).await;
#[allow(clippy::let_underscore_must_use)]
{
_ = tokio::time::timeout(duration, watcher).await;
}
}
Ok(sync_events::v4::Response {