]> Untitled Git - bdk/commit
Remove unnecessary clone
authorTobin Harding <me@tobin.cc>
Thu, 6 May 2021 04:29:51 +0000 (14:29 +1000)
committerTobin Harding <me@tobin.cc>
Tue, 11 May 2021 00:51:44 +0000 (10:51 +1000)
commit74cc80d127ce4af5c10efec375e318cf92668647
treeab640bf7a9064f700e5b616793e2543c904ea351
parent009f68a06a067e638d073337fd86b712248ef6bd
Remove unnecessary clone

Clippy emits:

  warning: using `clone` on type `descriptor::policy::Condition` which
  implements the `Copy` trait

Remove the clone and rely on `Copy`.
src/wallet/mod.rs