Skip to content
This repository was archived by the owner on Nov 30, 2022. It is now read-only.

Remove unnecessary borrow#187

Merged
apoelstra merged 1 commit intorust-bitcoin:masterfrom
tcharding:10-06-clippy
Oct 5, 2022
Merged

Remove unnecessary borrow#187
apoelstra merged 1 commit intorust-bitcoin:masterfrom
tcharding:10-06-clippy

Conversation

@tcharding
Copy link
Member

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).

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).
@tcharding tcharding mentioned this pull request Oct 5, 2022
Copy link
Member

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 9815a4c

@apoelstra apoelstra merged commit ec356e4 into rust-bitcoin:master Oct 5, 2022
@tcharding tcharding deleted the 10-06-clippy branch October 18, 2022 19:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants