Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove redundant borrows #363

Merged
merged 1 commit into from Jun 10, 2021
Merged

Conversation

tcharding
Copy link
Contributor

Description

Clippy emits:

warning: this expression borrows a reference

As suggested remove the borrows from the front of vars that are already references.

Checklists

All Submissions:

  • I've signed all my commits
  • I followed the contribution guidelines
  • I ran cargo fmt and cargo clippy before committing

@afilini
Copy link
Member

afilini commented Jun 8, 2021

Tests are failing because of rust-bitcoin/rust-bitcoin@017cd71 which was released a few hours ago with 0.26.1. I'm on IRC with the rust-bitcoin team to see if they want to yank and re-release of if they'll stick with this

@afilini
Copy link
Member

afilini commented Jun 8, 2021

Clippy emits:

  warning: this expression borrows a reference

As suggested remove the borrows from the front of vars that are already references.
@afilini afilini merged commit 12de13b into bitcoindevkit:master Jun 10, 2021
@tcharding tcharding deleted the remove-borrow branch June 10, 2021 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants