8000 Run clippy in ci for `hashes` by tcharding · Pull Request #1419 · rust-bitcoin/rust-bitcoin · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Run clippy in ci for hashes #1419

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

Merged
merged 2 commits into from
Dec 15, 2022
Merged

Conversation

tcharding
Copy link
Member

Currently we only run the linter in bitcoin/contrib/test.sh, we should do the same in the hashes ci script.

  • Patch 1: Fix current clippy issues in hashes crate
  • Patch 2: Run clippy in CI for hashes crate

Clippy emits various warnings of form:

 warning: this expression creates a reference which is immediately
 dereferenced by the compiler

As suggested, remove the unnecessary explicit reference.
Currently we only run the linter in `bitcoin/contrib/test.sh`, we should
do the same in the `hashes` ci script.
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 b78ba73

@tcharding
Copy link
Member Author

Gentle bump please.

< 8000 div class="timeline-comment-actions flex-shrink-0 d-flex flex-items-center">
Copy link
Collaborator
@Kixunil Kixunil left a comment

Choose a reason for hiding this comment

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

ACK b78ba73

@apoelstra apoelstra merged commit 033d964 into rust-bitcoin:master Dec 15, 2022
@tcharding tcharding deleted the 11-30-clippy branch January 12, 2023 07:35
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.

3 participants
0