Skip to content

Commit af35934

Browse files
committed
tidy
1 parent a5de5a6 commit af35934

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/librustc_mir/hair/pattern/_match.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1537,13 +1537,14 @@ fn constructor_sub_pattern_tys<'a, 'tcx>(
15371537
(_, true, true) => cx.tcx.types.err,
15381538
// Treat all non-visible fields as `TyErr`. They can't appear in any
15391539
// other pattern from this match (because they are private), so their
1540-
// type does not matter - but we don't want to know they are uninhabited.
1540+
// type does not matter - but we don't want to know they are
1541+
// uninhabited.
15411542
(false, ..) => cx.tcx.types.err,
15421543
(true, ..) => {
15431544
let ty = field.ty(cx.tcx, substs);
15441545
match ty.kind {
1545-
// If the field type returned is an array of an unknown
1546-
// size return an TyErr.
1546+
// If the field type returned is an array of an unknown size
1547+
// return an TyErr.
15471548
ty::Array(_, len)
15481549
if len.try_eval_usize(cx.tcx, cx.param_env).is_none() =>
15491550
{

0 commit comments

Comments
 (0)