sealable-trie: introduce bits::ExtKey type #331
This check has been archived and is scheduled for deletion.
Learn more about checks retention
GitHub Actions / clippy
failed
Nov 14, 2023 in 0s
clippy
2 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 2 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.76.0-nightly (ba7c7a301 2023-11-13)
- cargo 1.76.0-nightly (6790a5127 2023-11-10)
- clippy 0.1.75 (ba7c7a3 2023-11-13)
Annotations
Check failure on line 170 in common/sealable-trie/src/proof.rs
github-actions / clippy
this expression creates a reference which is immediately dereferenced by the compiler
error: this expression creates a reference which is immediately dereferenced by the compiler
--> common/sealable-trie/src/proof.rs:170:46
|
170 | let ext_key = ExtKey::decode(&key_buf, 0)?;
| ^^^^^^^^ help: change this to: `key_buf`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-D clippy::needless-borrow` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_borrow)]`
Check failure on line 43 in common/sealable-trie/src/bits/ext_key.rs
github-actions / clippy
struct `ExtKey` has a public `len` method, but no `is_empty` method
error: struct `ExtKey` has a public `len` method, but no `is_empty` method
--> common/sealable-trie/src/bits/ext_key.rs:43:5
|
43 | pub fn len(&self) -> u16 { self.0.len() }
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty
= note: `-D clippy::len-without-is-empty` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::len_without_is_empty)]`
Loading