Skip to content

Pass keys by value#2868

Merged
apoelstra merged 2 commits intorust-bitcoin:masterfrom
tcharding:06-13-pass-by-value-keys
Jun 14, 2024
Merged

Pass keys by value#2868
apoelstra merged 2 commits intorust-bitcoin:masterfrom
tcharding:06-13-pass-by-value-keys

Conversation

@tcharding
Copy link
Copy Markdown
Member

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

This is patch 1 from #2404

We should pass `Copy` types by value not by reference. Pass the key
types by value.
@github-actions github-actions bot added the C-bitcoin PRs modifying the bitcoin crate label Jun 14, 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 9f01871 this will annoy some people but I think we should do it

@apoelstra apoelstra merged commit 4defdb0 into rust-bitcoin:master Jun 14, 2024
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.

2 participants