Skip to content

Perform key type conversion inline with hardened-only derivation #41

Perform key type conversion inline with hardened-only derivation

Perform key type conversion inline with hardened-only derivation #41

GitHub Actions / Clippy Result (stable) failed Oct 1, 2024 in 42s

Clippy (Stable ~ Linux/x86_64)

Clippy failed.

Details

Running cargo clippy took roughly ~41923ms to complete

  • Working Directory: repository directory

Annotations

Check failure on line 77 in /home/runner/work/zip32/zip32/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy Result (stable)

/home/runner/work/zip32/zip32/src/lib.rs#L77

manual `RangeInclusive::contains` implementation
Raw output
error: manual `RangeInclusive::contains` implementation
  --> src/arbitrary.rs:77:17
   |
77 |         assert!(seed_len >= 32 && seed_len <= 252);
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(32..=252).contains(&seed_len)`
   |
   = note: `-D clippy::manual-range-contains` implied by `-D warnings`
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains