]> git.lizzy.rs Git - rust.git/commitdiff
Rustfmt
authorbjorn3 <bjorn3@users.noreply.github.com>
Fri, 6 May 2022 16:54:13 +0000 (18:54 +0200)
committerbjorn3 <bjorn3@users.noreply.github.com>
Fri, 6 May 2022 16:54:13 +0000 (18:54 +0200)
src/value_and_place.rs

index f8da18ee3e2954539f769d746be0d22d9dc434e2..a68225de58b32d160dd2302ed54eaf352b3d8831 100644 (file)
@@ -828,9 +828,7 @@ pub(crate) fn assert_assignable<'tcx>(
                 }
             }
         }
-        (ty::Array(a, _), ty::Array(b, _)) => {
-            assert_assignable(fx, *a, *b)
-        }
+        (ty::Array(a, _), ty::Array(b, _)) => assert_assignable(fx, *a, *b),
         _ => {
             assert_eq!(
                 from_ty, to_ty,