Skip to content

Conversation

@tcharding
Copy link
Member

In an effort to make the code more readable refactor the 4 TranslatePk[X] types by doing:

  • Improve docs
  • Shorten parameter names to assist formatting with no loss of clarity
  • Use where instead of inline trait bounds

In an effort to make the code more readable refactor the 4
`TranslatePk[X]` types by doing:

- Improve docs
- Shorten parameter names to assist formatting with no loss of clarity
- Use `where` instead of inline trait bounds
@sanket1729
Copy link
Member

Thanks for doing this and taking a look at rust-miniscript

Copy link
Member

@sanket1729 sanket1729 left a comment

Choose a reason for hiding this comment

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

ACK a4bf096

@sanket1729 sanket1729 merged commit 43075d8 into rust-bitcoin:master Apr 27, 2022
@tcharding tcharding deleted the refactor-translate-pk branch April 27, 2022 22:15
heap-coder added a commit to heap-coder/rust-miniscript that referenced this pull request Sep 27, 2025
a4bf096b9d39a27d00e0337f090021e02bc1fb98 Refactor the TranslatePk types (Tobin C. Harding)

Pull request description:

  In an effort to make the code more readable refactor the 4 `TranslatePk[X]` types by doing:

  - Improve docs
  - Shorten parameter names to assist formatting with no loss of clarity
  - Use `where` instead of inline trait bounds

ACKs for top commit:
  sanket1729:
    ACK a4bf096b9d39a27d00e0337f090021e02bc1fb98

Tree-SHA512: 2cbc5c660d4f9c353a4d2367a4fcf9aac65f65e5daedcf3337ed29209f69b326abeb068f07e19a65aee2f895e3a5deae6b8a27fd0fb4b4cb8fe388651699887b
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