chiark
/
gitweb
/
~ian
/
hippotat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddb451c
)
Suppress a lint for let _: Future = ...
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 10 May 2026 18:20:19 +0000
(19:20 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 10 May 2026 21:24:01 +0000
(22:24 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
client/client.rs
patch
|
blob
|
history
diff --git
a/client/client.rs
b/client/client.rs
index 994bbb1324e538ab978ea4a6045bdb2ccc4dc9dd..72a59c4b589d382e9c7cb7373e5faa1817d27f16 100644
(file)
--- a/
client/client.rs
+++ b/
client/client.rs
@@
-339,6
+339,8
@@
async fn run_client(
{
// This future was Ready and has returned the value,
// which is in `got`. We don't want the completed future.
+ // rust-lang/rust-clippy#16991
+ #[allow(clippy::let_underscore_future)]
let _: Pin<Box<dyn Future<Output = _>>> = reqs.swap_remove(goti);
if let Some(got) = got {