Skip to content

Commit ec2246b

Browse files
committed
fix fmt diff
1 parent 828cf96 commit ec2246b

File tree

1 file changed

+1
-3
lines changed
  • compiler/rustc_lexer/src

1 file changed

+1
-3
lines changed

compiler/rustc_lexer/src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -644,9 +644,7 @@ impl Cursor<'_> {
644644
'.' | 'e' | 'E' => {}
645645

646646
// Just a 0.
647-
_ => {
648-
return (Int { base, empty_int: false }, None);
649-
}
647+
_ => return (Int { base, empty_int: false }, None),
650648
}
651649
} else {
652650
// No base prefix, parse number in the usual way.

0 commit comments

Comments
 (0)