Skip to content

feat: Faster computation of L0 #691

feat: Faster computation of L0

feat: Faster computation of L0 #691

GitHub Actions / Clippy (1.56.1) failed Aug 20, 2024 in 0s

Clippy (1.56.1)

1 error

Details

Results

Message level Amount
Internal compiler error 0
Error 1
Warning 0
Note 0
Help 0

Versions

  • rustc 1.78.0 (9b00956e5 2024-04-29)
  • cargo 1.78.0 (54d8815d0 2024-03-26)
  • clippy 0.1.78 (9b00956 2024-04-29)

Annotations

Check failure on line 156 in halo2_backend/src/plonk/keygen.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (1.56.1)

the borrowed expression implements the required traits

error: the borrowed expression implements the required traits
   --> halo2_backend/src/plonk/keygen.rs:156:32
    |
156 |         let wn = w.pow_vartime(&[n]);
    |                                ^^^^ help: change this to: `[n]`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
    = note: `-D clippy::needless-borrows-for-generic-args` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::needless_borrows_for_generic_args)]`