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

Fix: Inclusive ranges is_empty() comparison #156

Merged
merged 1 commit into from
May 11, 2020
Merged

Fix: Inclusive ranges is_empty() comparison #156

merged 1 commit into from
May 11, 2020

Conversation

mrll
Copy link
Contributor

@mrll mrll commented May 11, 2020

Currently inclusive ranges are empty when upper bound equals lower bound. Should be only empty when start > end.

@phil-opp phil-opp merged commit 0a4fdc8 into rust-osdev:master May 11, 2020
@phil-opp
Copy link
Member

Good catch, thanks a lot!

phil-opp added a commit that referenced this pull request May 11, 2020
@phil-opp
Copy link
Member

Published as v0.10.3.

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