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 proper prefix_range helper when you want to iterate over the prefix space #446

Merged
merged 7 commits into from
Sep 22, 2021

Conversation

ethanfrey
Copy link
Member

@ethanfrey ethanfrey commented Sep 21, 2021

Closes #430

Fixes issue demonstrated in #429 (takes that commit as a starter)


#[test]
#[cfg(feature = "iterator")]
fn composite_key_failure() {
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess this test should be renamed (composite_key_range?) as it is never more showing the failure.

Copy link
Member Author

Choose a reason for hiding this comment

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

yes, good point.

is that the only change request needed for approval?

Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry, I was commenting while still reading code :D But I guess yes.

Copy link
Contributor

@hashedone hashedone left a comment

Choose a reason for hiding this comment

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

Thanks for a change. Very much like how it is working now.

@ethanfrey ethanfrey merged commit 85fe430 into main Sep 22, 2021
@ethanfrey ethanfrey deleted the 430-prefix-range branch September 22, 2021 08:34
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.

Unintuitive behavior of range on multi-index
3 participants