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 c11e783 commit 7fd434eCopy full SHA for 7fd434e
crates/oxc_parser/src/lexer/number.rs
@@ -35,8 +35,6 @@ unsafe fn parse_int_without_underscores_unchecked(
35
if kind == Kind::Decimal {
36
return parse_float_without_underscores_unchecked(s);
37
}
38
- // let s = if s.contains('_') { Cow::Owned(s.replace('_', "")) } else { Cow::Borrowed(s) };
39
- // let s = s.as_ref();
40
match kind {
41
Kind::Binary => Ok(parse_binary(&s[2..])),
42
Kind::Octal => {
0 commit comments