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
for i in (254u8..) { println!("{:?}", i) } will not stop at 255, but instead loops back to 0 and continues from there.
for i in (254u8..) { println!("{:?}", i) }
Update: This is the correct behavior, apparently.
The text was updated successfully, but these errors were encountered:
#20249 indicates this is intentional
Sorry, something went wrong.
Note that it should panic in debug builds
See #25696 for assertions that this is not desirable behaviour
No branches or pull requests
for i in (254u8..) { println!("{:?}", i) }
will not stop at 255, but instead loops back to 0 and continues from there.Update: This is the correct behavior, apparently.
The text was updated successfully, but these errors were encountered: