Skip to content

Commit f3e8f6d

Browse files
committed
Rustfmt
1 parent 7889a32 commit f3e8f6d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/constant.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,9 @@ pub(crate) fn codegen_constant<'tcx>(
124124
};
125125
let const_val = match const_.val {
126126
ConstKind::Value(const_val) => const_val,
127-
ConstKind::Unevaluated(ty::Unevaluated { def, substs, promoted }) if fx.tcx.is_static(def.did) => {
127+
ConstKind::Unevaluated(ty::Unevaluated { def, substs, promoted })
128+
if fx.tcx.is_static(def.did) =>
129+
{
128130
assert!(substs.is_empty());
129131
assert!(promoted.is_none());
130132

0 commit comments

Comments
 (0)