GitHub Actions / Clippy Report
succeeded
Nov 25, 2024 in 0s
Clippy Report
1 warning
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 1 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.82.0 (f6e511eec 2024-10-15)
- cargo 1.82.0 (8f40fc59f 2024-08-21)
- clippy 0.1.82 (f6e511e 2024-10-15)
Annotations
Check warning on line 84 in validator-network/src/network_impl.rs
github-actions / Clippy Report
redundant closure
warning: redundant closure
--> validator-network/src/network_impl.rs:84:62
|
84 | dht_fallback: Arc::new(dht_fallback_url.and_then(|url| DhtFallback::new(url))),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `DhtFallback::new`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
= note: `#[warn(clippy::redundant_closure)]` on by default
Loading