Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CheckedHrpstring::fe32_iter function #174

Merged
merged 2 commits into from
Jan 23, 2024

Conversation

tcharding
Copy link
Member

Simplify the AsciiToFe32Iter, make it public, and add a function to create it.

Add a function that returns an iterator that yields field elements from
the data part of the parsed input bech32 string.
The `AsciiToFe32Iter` always iterates over the input string, we can just
use the lifetime from the string and a `iter::Copied<slice::Iter<'s,
u8>` iterator.
Copy link
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 319d9e3

@apoelstra apoelstra merged commit 091187e into rust-bitcoin:master Jan 23, 2024
12 checks passed
@tcharding tcharding deleted the 01-23-add-fe23-iter branch January 25, 2024 05:06
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.

None yet

2 participants