Skip to content

Commit 11ddd22

Browse files
committed
Run rustfmt
1 parent c51749a commit 11ddd22

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

compiler/rustc_mir_build/src/build/expr/as_constant.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
2424
assert_eq!(literal.ty, ty);
2525
Constant { span, user_ty, literal: literal.into() }
2626
}
27-
ExprKind::StaticRef { literal, .. } => Constant { span, user_ty: None, literal: literal.into() },
27+
ExprKind::StaticRef { literal, .. } => {
28+
Constant { span, user_ty: None, literal: literal.into() }
29+
}
2830
ExprKind::ConstBlock { value } => {
2931
Constant { span: span, user_ty: None, literal: value.into() }
3032
}

0 commit comments

Comments
 (0)