Remove mutable ref from params #113
GitHub Actions / Clippy (beta)
succeeded
Jan 21, 2025 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.77.0 (aedd173a2 2024-03-17)
- cargo 1.77.0 (3fe68eabf 2024-02-29)
- clippy 0.1.77 (aedd173 2024-03-17)
Annotations
Check warning on line 614 in src/plonk/prover.rs
github-actions / Clippy (beta)
the function `keygen_vk` doesn't need a mutable reference
warning: the function `keygen_vk` doesn't need a mutable reference
--> src/plonk/prover.rs:614:24
|
614 | let vk = keygen_vk(&mut params, &MyCircuit).expect("keygen_vk should not fail");
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_mut_passed
= note: `-W clippy::unnecessary-mut-passed` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::unnecessary_mut_passed)]`
Loading