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

Use checked_add/sub rather than checking bounds explicitly #236

Merged
merged 3 commits into from
Aug 30, 2022
Merged

Use checked_add/sub rather than checking bounds explicitly #236

merged 3 commits into from
Aug 30, 2022

Conversation

Dr-Emann
Copy link
Member

Also add a few more unit tests, including uses of Bound::Excluded on the lower bound of the range.

Copy link
Member

@Kerollmops Kerollmops left a comment

Choose a reason for hiding this comment

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

Thank you very much! Would it be possible to cargo fmt, please?

@Kerollmops
Copy link
Member

Note that I just renamed the master branch to main, you should be careful.

Copy link
Member

@Kerollmops Kerollmops left a comment

Choose a reason for hiding this comment

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

Thank you very much!
bors merge

@bors
Copy link
Contributor

bors bot commented Aug 30, 2022

Build succeeded:

@bors bors bot merged commit 1da2ad1 into RoaringBitmap:main Aug 30, 2022
@Dr-Emann Dr-Emann deleted the checked_ops branch August 31, 2022 00:35
not-jan pushed a commit to not-jan/roaring-rs that referenced this pull request Aug 31, 2022
236: Use checked_add/sub rather than checking bounds explicitly r=Kerollmops a=Dr-Emann

Also add a few more unit tests, including uses of Bound::Excluded on the lower bound of the range.

Co-authored-by: Zachary Dremann <dremann@gmail.com>
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