Skip to content

Commit 7fd434e

Browse files
DonIsaacBoshen
andauthored
Apply suggestions from code review
Co-authored-by: Boshen <[email protected]>
1 parent c11e783 commit 7fd434e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

crates/oxc_parser/src/lexer/number.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ unsafe fn parse_int_without_underscores_unchecked(
3535
if kind == Kind::Decimal {
3636
return parse_float_without_underscores_unchecked(s);
3737
}
38-
// let s = if s.contains('_') { Cow::Owned(s.replace('_', "")) } else { Cow::Borrowed(s) };
39-
// let s = s.as_ref();
4038
match kind {
4139
Kind::Binary => Ok(parse_binary(&s[2..])),
4240
Kind::Octal => {

0 commit comments

Comments
 (0)