Skip to content

hashes: silence new unused-assignments clippy lint#5376

Merged
apoelstra merged 1 commit into
rust-bitcoin:masterfrom
apoelstra:2025-12/clippy
Dec 8, 2025
Merged

hashes: silence new unused-assignments clippy lint#5376
apoelstra merged 1 commit into
rust-bitcoin:masterfrom
apoelstra:2025-12/clippy

Conversation

@apoelstra

Copy link
Copy Markdown
Member

In our round! macro invocation for the implementation for sha256 and sha512 we do an assignment of a variable $w which is fed into the next round. On the last round, this assignment is unused, which makes clippy unhappy on recent nightlies.

Fix this so we can update our nightly compiler.

In our `round!` macro invocation for the implementation for sha256 and
sha512 we do an assignment of a variable `$w` which is fed into the next
round. On the last round, this assignment is unused, which makes clippy
unhappy on recent nightlies.

Fix this so we can update our nightly compiler.
@github-actions github-actions Bot added the C-hashes PRs modifying the hashes crate label Dec 7, 2025

@tcharding tcharding left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

ACK 710d644

@apoelstra apoelstra merged commit 2dfd66e into rust-bitcoin:master Dec 8, 2025
27 checks passed
@apoelstra apoelstra deleted the 2025-12/clippy branch December 8, 2025 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-hashes PRs modifying the hashes crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants