Skip to content

partially fixing errors in zk memory #21

partially fixing errors in zk memory

partially fixing errors in zk memory #21

GitHub Actions / Clippy failed Nov 22, 2023 in 0s

Clippy

1 error

Details

Results

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

Versions

  • rustc 1.74.0 (79e9716c9 2023-11-13)
  • cargo 1.74.0 (ecb9851af 2023-10-18)
  • clippy 0.1.74 (79e9716 2023-11-13)

Annotations

Check failure on line 156 in libecvrf/src/hash.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy

unnecessary use of `to_vec`

error: unnecessary use of `to_vec`
   --> libecvrf/src/hash.rs:156:38
    |
156 |             rv = new_candidate_point(&rv.x.b32().to_vec());
    |                                      ^^^^^^^^^^^^^^^^^^^^ help: use: `rv.x.b32().as_ref()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_to_owned
note: the lint level is defined here
   --> libecvrf/src/lib.rs:5:5
    |
5   |     warnings,
    |     ^^^^^^^^
    = note: `#[deny(clippy::unnecessary_to_owned)]` implied by `#[deny(warnings)]`