Skip to content

Commit cd2915e

Browse files
committed
fmt
1 parent 3212734 commit cd2915e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

compiler/rustc_trait_selection/src/traits/const_evaluatable.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,9 @@ pub(super) fn try_unify<'tcx>(
579579
&& iter::zip(a_args, b_args)
580580
.all(|(&an, &bn)| try_unify(tcx, a.subtree(an), b.subtree(bn)))
581581
}
582-
(Node::Cast(a_kind, a_operand, a_ty), Node::Cast(b_kind, b_operand, b_ty)) if (a_ty == b_ty) && (a_kind == b_kind) => {
582+
(Node::Cast(a_kind, a_operand, a_ty), Node::Cast(b_kind, b_operand, b_ty))
583+
if (a_ty == b_ty) && (a_kind == b_kind) =>
584+
{
583585
try_unify(tcx, a.subtree(a_operand), b.subtree(b_operand))
584586
}
585587
// use this over `_ => false` to make adding variants to `Node` less error prone

0 commit comments

Comments
 (0)