Release 3.0.0 #52
GitHub Actions / clippy
succeeded
Apr 28, 2024 in 0s
clippy
2 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 2 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.77.2 (25ef9e3d8 2024-04-09)
- cargo 1.77.2 (e52e36006 2024-03-26)
- clippy 0.1.77 (25ef9e3 2024-04-09)
Annotations
Check warning on line 138 in src/nodes/hamt.rs
github-actions / clippy
this expression borrows a value the compiler would automatically borrow
warning: this expression borrows a value the compiler would automatically borrow
--> src/nodes/hamt.rs:138:13
|
138 | (&mut *result.get()).write(Node::new());
| ^^^^^^^^^^^^^^^^^^^^ help: change this to: `(*result.get())`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
Check warning on line 26 in src/nodes/hamt.rs
github-actions / clippy
manual implementation of `BuildHasher::hash_one`
warning: manual implementation of `BuildHasher::hash_one`
--> src/nodes/hamt.rs:26:5
|
26 | hasher.finish() as HashBits
| ^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_hash_one
= note: `#[warn(clippy::manual_hash_one)]` on by default
help: try
|
24 ~
25 ~
26 ~ bh.hash_one(&key) as HashBits
|
Loading