]> Untitled Git - bdk/commit
Remove redundant borrows
authorTobin Harding <me@tobin.cc>
Tue, 8 Jun 2021 03:57:55 +0000 (13:57 +1000)
committerTobin Harding <me@tobin.cc>
Thu, 10 Jun 2021 03:16:07 +0000 (13:16 +1000)
commit12de13b95c5c42747f225e888ec8254ebb65736a
tree619da0ac140a0eee8b4766abeb849b958feeda83
parent3b446c9e1425cea3ed8e38eec7f27b8247e99db0
Remove redundant borrows

Clippy emits:

  warning: this expression borrows a reference

As suggested remove the borrows from the front of vars that are already references.
src/blockchain/utils.rs
src/database/keyvalue.rs
src/database/memory.rs
src/descriptor/mod.rs
src/descriptor/policy.rs
src/types.rs
src/wallet/mod.rs
src/wallet/signer.rs