Skip to content

Commit 757f5bb

Browse files
committed
Fix formatting
1 parent 857f5dd commit 757f5bb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

compiler/rustc_ast_lowering/src/format.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@ impl<'hir> LoweringContext<'_, 'hir> {
6464
let isize_max = usize_max >> 1;
6565
match ty {
6666
// unsuffixed integer literals are assumed to be i32's
67-
LitIntType::Unsuffixed => (n <= i32::MAX as u128).then_some(Symbol::intern(&n.to_string())),
67+
LitIntType::Unsuffixed => {
68+
(n <= i32::MAX as u128).then_some(Symbol::intern(&n.to_string()))
69+
}
6870
LitIntType::Signed(int_ty) => {
6971
let max_literal = int_ty_max(int_ty).unwrap_or(isize_max);
7072
(n <= max_literal).then_some(Symbol::intern(&n.to_string()))

0 commit comments

Comments
 (0)