chore: fix clippy #505
GitHub Actions / Clippy (beta)
succeeded
May 8, 2024 in 0s
Clippy (beta)
1 warning
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 1 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.73.0 (cc66ad468 2023-10-03)
- cargo 1.73.0 (9c4383fb5 2023-08-26)
- clippy 0.1.73 (cc66ad4 2023-10-03)
Annotations
Check warning on line 408 in halo2_proofs/tests/compress_selectors.rs
github-actions / Clippy (beta)
redundant closure
warning: redundant closure
--> halo2_proofs/tests/compress_selectors.rs:408:14
|
408 | .map_err(|e| halo2_proofs::plonk::Error::Backend(e))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `halo2_proofs::plonk::Error::Backend`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
= note: `-W clippy::redundant-closure` implied by `-W clippy::all`
Loading