Bump thiserror from 1.0.58 to 1.0.61 #258
GitHub Actions / clippy
failed
May 20, 2024 in 1s
clippy
3 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 3 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.78.0 (9b00956e5 2024-04-29)
- cargo 1.78.0 (54d8815d0 2024-03-26)
- clippy 0.1.78 (9b00956 2024-04-29)
Annotations
Check failure on line 418 in couchstore/src/btree_modify.rs
github-actions / clippy
assigning the result of `Clone::clone()` may be inefficient
error: assigning the result of `Clone::clone()` may be inefficient
--> couchstore/src/btree_modify.rs:418:13
|
418 | final_key = value.key.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `final_key.clone_from(&value.key)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
Check failure on line 106 in couchstore/src/btree_modify.rs
github-actions / clippy
assigning the result of `Clone::clone()` may be inefficient
error: assigning the result of `Clone::clone()` may be inefficient
--> couchstore/src/btree_modify.rs:106:17
|
106 | new_root = root_result.values.back().unwrap().pointer.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `new_root.clone_from(&root_result.values.back().unwrap().pointer)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
= note: `-D clippy::assigning-clones` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::assigning_clones)]`
Check failure on line 36 in couchstore/src/btree_modify.rs
github-actions / clippy
trait `Modifier` is never used
error: trait `Modifier` is never used
--> couchstore/src/btree_modify.rs:36:7
|
36 | trait Modifier: Sized {
| ^^^^^^^^
|
= note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]`
Loading