rust-bitcoin / bitcoin_hashes

Simple library which implements a few hashes and does nothing else
Creative Commons Zero v1.0 Universal
66 stars 52 forks source link

Remove unnecessary borrow #187

Closed tcharding closed 2 years ago

tcharding commented 2 years ago

Clippy emits various errors of form:

error: this expression borrows a value the compiler would automatically borrow

As suggested, remove the unnecessary borrow.

FTR, this error shows up because of a clippy update (I believe).