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
The following unit tests all fail:
// rustc --test from_str.rs && ./from_str use std; #[test] fn too_big() { alt int::from_str("9999999999999999999999") { option::some(value) { io::println(#fmt["How did we get %??\n", value]); assert false; } option::none() { // passed } } } #[test] fn too_small() { alt int::from_str("-9999999999999999999999") { option::some(value) { io::println(#fmt["How did we get %??\n", value]); assert false; } option::none() { // passed } } }
The text was updated successfully, but these errors were encountered:
This issue is already solved, and tests are already written. https://github.com/mozilla/rust/blob/master/src/libcore/num/int-template.rs#L363
Sorry, something went wrong.
Auto merge of rust-lang#2546 - RalfJung:comments, r=RalfJung
fd05ff5
add/fix some comments
No branches or pull requests
The following unit tests all fail:
The text was updated successfully, but these errors were encountered: