Skip to content

Conversation

@jamillambert
Copy link
Collaborator

@jamillambert jamillambert commented Oct 13, 2025

In the Error impl there is a combination of the use of:

  • use FooError::*;
  • use FooError as E;
  • Self::FooVariant

Remove all imports and use Self::FooVariant in all Error impl in types. Style change only, there is no functional change.

Run the formatter in a separate patch to make the diff of the first easier to read.

Closes #372

In the Error impl there is a combination of the use of:
- use FooError::*;
- use FooError as E;
- Self::FooVariant

Remove all imports and use Self::FooVariant in all Error impl in types.
Formatting change only, kept seperate to make diff or previous patch
easier to read.
Copy link
Member

@tcharding tcharding left a comment

Choose a reason for hiding this comment

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

ACK ac8e9f0

@tcharding tcharding merged commit 889a2e3 into rust-bitcoin:master Oct 14, 2025
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use Self::Foo instead of importing variants with wildcard

2 participants