actually fix all let_underscore_must_use lints
CI caught some more Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
0877ee6191
commit
6269822613
8 changed files with 54 additions and 21 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue