fix(restore-unchecked): restore root #72
clippy
5 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 5 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.78.0-nightly (b11fbfbf3 2024-02-03)
- cargo 1.78.0-nightly (7bb7b5395 2024-01-20)
- clippy 0.1.77 (b11fbfb 2024-02-03)
Annotations
Check warning on line 24 in src/util.rs
github-actions / clippy
function `as_bytes` is never used
warning: function `as_bytes` is never used
--> src/util.rs:24:22
|
24 | pub(crate) unsafe fn as_bytes<T: ?Sized>(p: &T) -> &[u8] {
| ^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
Check warning on line 86 in src/cascading_merkle_tree.rs
github-actions / clippy
variable does not need to be mutable
warning: variable does not need to be mutable
--> src/cascading_merkle_tree.rs:86:13
|
86 | let mut tree = CascadingMerkleTree {
| ----^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
Check warning on line 5 in src/cascading_merkle_tree.rs
github-actions / clippy
unused import: `rayon::prelude`
warning: unused import: `rayon::prelude`
--> src/cascading_merkle_tree.rs:5:5
|
5 | use rayon::prelude::*;
| ^^^^^^^^^^^^^^
Check warning on line 4 in src/cascading_merkle_tree.rs
github-actions / clippy
unused import: `itertools::Itertools`
warning: unused import: `itertools::Itertools`
--> src/cascading_merkle_tree.rs:4:5
|
4 | use itertools::Itertools;
| ^^^^^^^^^^^^^^^^^^^^
Check warning on line 1 in src/cascading_merkle_tree.rs
github-actions / clippy
unused imports: `DerefMut`, `Deref`
warning: unused imports: `DerefMut`, `Deref`
--> src/cascading_merkle_tree.rs:1:16
|
1 | use std::ops::{Deref, DerefMut};
| ^^^^^ ^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default