Skip to content

Pass hash types by value#2880

Merged
apoelstra merged 2 commits intorust-bitcoin:masterfrom
tcharding:06-20-pass-hash-types-by-value
Jun 22, 2024
Merged

Pass hash types by value#2880
apoelstra merged 2 commits intorust-bitcoin:masterfrom
tcharding:06-20-pass-hash-types-by-value

Conversation

@tcharding
Copy link
Copy Markdown
Member

We should pass Copy types by value not by reference. Pass the hash types by value.

Second step in the pass-copy-types-by-value work, pulled out of #2404.

We should pass `Copy` types by value not by reference. Pass the hash
types by value.
@github-actions github-actions bot added the C-bitcoin PRs modifying the bitcoin crate label Jun 19, 2024
Copy link
Copy Markdown
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 433fd6b

Copy link
Copy Markdown
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 433fd6b

@apoelstra apoelstra merged commit ed514b4 into rust-bitcoin:master Jun 22, 2024
@tcharding tcharding deleted the 06-20-pass-hash-types-by-value branch June 26, 2024 05:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-bitcoin PRs modifying the bitcoin crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants