Skip to content

Mark WalletPolicyError as non-exhaustive - #1054

Merged
apoelstra merged 1 commit into
rust-bitcoin:masterfrom
trevarj:fix/wallet-policy-error-non-exhaustive
Oct 1, 2026
Merged

apoelstra merged 1 commit into
rust-bitcoin:masterfrom
trevarj:fix/wallet-policy-error-non-exhaustive

Conversation

@trevarj

@trevarj trevarj commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

Mark WalletPolicyError as #[non_exhaustive] so future error variants can be added
without breaking downstream exhaustive matches.

@apoelstra apoelstra 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 2b739c9; successfully ran local tests

@apoelstra
apoelstra merged commit 699a4bd into rust-bitcoin:master Oct 1, 2026
13 checks passed
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.

2 participants