Skip to content

refactor!(bdk): Update wallet start_sync, start_scan to return new Sy…

Sign in for the full log view
GitHub Actions / clippy failed Nov 7, 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 2057 in crates/bdk/src/wallet/mod.rs

See this annotation in the file changed.

@github-actions 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`
    --> crates/bdk/src/wallet/mod.rs:2057:18
     |
2057 |                 .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 62 in crates/esplora/src/async_ext.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

redundant closure

error: redundant closure
  --> crates/esplora/src/async_ext.rs:62:18
   |
62 |             .map(|cp| LocalChain::from_tip(cp))
   |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `LocalChain::from_tip`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
   = note: `-D clippy::redundant-closure` implied by `-D warnings`