We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51b5f80 commit 36f34ceCopy full SHA for 36f34ce
literal/src/float.rs
@@ -31,6 +31,7 @@ fn parse_inner(literal: &[u8]) -> Option<f64> {
31
// lexical-core's format::PYTHON_STRING is inaccurate
32
const PYTHON_STRING: u128 = NumberFormatBuilder::rebuild(PYTHON3_LITERAL)
33
.no_special(false)
34
+ .consecutive_digit_separator(false)
35
.build();
36
f64::from_lexical_with_options::<PYTHON_STRING>(literal, &Options::new()).ok()
37
}
0 commit comments