We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
On debug build, get_divisors(0) gives:
get_divisors(0)
thread 'main' panicked at /rustc/79e9716c980570bfd1f666e3b16ac583f0168962\library\core\src\ops\bit.rs:496:1: attempt to shift left with overflow
On release build, it runs an infinite loop.
I made a new crate which resolves this, but posting it here so that people can track down the problem.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
On debug build,
get_divisors(0)
gives:On release build, it runs an infinite loop.
I made a new crate which resolves this, but posting it here so that people can track down the problem.
The text was updated successfully, but these errors were encountered: