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
let x: i32 = lexical::parse("9589934592").unwrap(); dbg!(x);
prints 1000000000 instead of giving an error.
1000000000
Here are a few things you should provide to help me understand the issue:
rustc 1.71.0 (8ede3aae2 2023-07-12)
std, parse-integers
fn main() { let x: Result<i32, _> = lexical::parse("9589934592"); assert!(x.is_err()); }
The text was updated successfully, but these errors were encountered:
Looks like duplicate of #91
Sorry, something went wrong.
Closing as a duplicate of #91, a patch should be coming in soon.
Alexhuszagh
No branches or pull requests
Description
The following
prints
1000000000
instead of giving an error.Prerequisites
Here are a few things you should provide to help me understand the issue:
rustc 1.71.0 (8ede3aae2 2023-07-12)
std, parse-integers
Test case
The text was updated successfully, but these errors were encountered: