GitHub Actions / clippy
failed
Nov 2, 2023 in 1s
clippy
2 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 2 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.67.0 (fc594f156 2023-01-24)
- cargo 1.67.0 (8ecd4f20a 2023-01-10)
- clippy 0.1.67 (fc594f1 2023-01-24)
Annotations
Check failure on line 122 in example-crates/wallet_esplora_async/src/main.rs
github-actions / clippy
this `.into_iter()` call is equivalent to `.iter()` and will not consume the `BTreeMap`
error: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `BTreeMap`
--> example-crates/wallet_esplora_async/src/main.rs:122:18
|
122 | .into_iter()
| ^^^^^^^^^ help: call directly: `iter`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref
= note: `-D clippy::into-iter-on-ref` implied by `-D warnings`
Check failure on line 92 in example-crates/wallet_esplora_async/src/main.rs
github-actions / clippy
`Box::new(_)` of default value
error: `Box::new(_)` of default value
--> example-crates/wallet_esplora_async/src/main.rs:92:24
|
92 | let mut spks = Box::new(Vec::new());
| ^^^^^^^^^^^^^^^^^^^^ help: try: `Box::<std::vec::Vec<bdk::bitcoin::ScriptBuf>>::default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#box_default
= note: `-D clippy::box-default` implied by `-D warnings`
Loading