Skip to content

fix: shielded ptx out-of-circuit check #513

fix: shielded ptx out-of-circuit check

fix: shielded ptx out-of-circuit check #513

GitHub Actions / Clippy (beta) succeeded Nov 16, 2023 in 1s

Clippy (beta)

2 warnings

Details

Results

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

Versions

  • rustc 1.75.0-beta.1 (782883f60 2023-11-12)
  • cargo 1.75.0-beta.1 (6790a5127 2023-11-10)
  • clippy 0.1.75 (782883f6 2023-11-12)

Annotations

Check warning on line 147 in taiga_halo2/src/circuit/vp_circuit.rs

See this annotation in the file changed.

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

use of a fallible conversion when an infallible one could be used

warning: use of a fallible conversion when an infallible one could be used
   --> taiga_halo2/src/circuit/vp_circuit.rs:147:13
    |
147 |         val.try_into()
    |             ^^^^^^^^ help: use: `into`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions
    = note: `-W clippy::unnecessary-fallible-conversions` implied by `-W clippy::all`
    = help: to override `-W clippy::all` add `#[allow(clippy::unnecessary_fallible_conversions)]`

Check warning on line 147 in taiga_halo2/src/circuit/vp_circuit.rs

See this annotation in the file changed.

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

use of a fallible conversion when an infallible one could be used

warning: use of a fallible conversion when an infallible one could be used
   --> taiga_halo2/src/circuit/vp_circuit.rs:147:13
    |
147 |         val.try_into()
    |             ^^^^^^^^ help: use: `into`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions
    = note: `-W clippy::unnecessary-fallible-conversions` implied by `-W clippy::all`
    = help: to override `-W clippy::all` add `#[allow(clippy::unnecessary_fallible_conversions)]`