proxy: Fix some clippy warnings coming in next versions (#11359)

This commit is contained in:
Folke Behrens
2025-03-26 10:50:16 +00:00
committed by GitHub
parent 5f3551e405
commit 4bb7087d4d
9 changed files with 28 additions and 35 deletions

View File

@@ -866,7 +866,7 @@ impl QueryData {
let (inner, mut discard) = client.inner();
let cancel_token = inner.cancel_token();
let res = match select(
match select(
pin!(query_to_json(
config,
&mut *inner,
@@ -889,7 +889,7 @@ impl QueryData {
// The query failed with an error
Either::Left((Err(e), __not_yet_cancelled)) => {
discard.discard();
return Err(e);
Err(e)
}
// The query was cancelled.
Either::Right((_cancelled, query)) => {
@@ -930,8 +930,7 @@ impl QueryData {
}
}
}
};
res
}
}
}