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 scalar divide-by-zero panics #200

Merged
merged 1 commit into from Mar 14, 2021
Merged

Conversation

cuviper
Copy link
Member

@cuviper cuviper commented Mar 14, 2021

There was a gap where BigUint::zero() / 0u32 wouldn't actually trigger
an expected panic, since there were no digits, so it just returned 0.

There was a gap where `BigUint::zero() / 0u32` wouldn't actually trigger
an expected panic, since there were no digits, so it just returned 0.
@cuviper
Copy link
Member Author

cuviper commented Mar 14, 2021

bors r+

@bors
Copy link
Contributor

bors bot commented Mar 14, 2021

@bors bors bot merged commit cbfe665 into rust-num:master Mar 14, 2021
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

1 participant