Skip to content

Commit 7f12561

Browse files
lcnrCentril
andauthored
dedup docs
Co-Authored-By: Mazdak Farrokhzad <[email protected]>
1 parent 50ab773 commit 7f12561

File tree

1 file changed

+0
-1
lines changed
  • src/librustc_typeck/check

1 file changed

+0
-1
lines changed

src/librustc_typeck/check/pat.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1423,7 +1423,6 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
14231423
} else if slice.is_none() {
14241424
// We have a pattern with a fixed length,
14251425
// which we can use to infer the length of the array.
1426-
// of the array.
14271426
let updated_arr_ty = self.tcx.mk_array(element_ty, min_len);
14281427
self.demand_eqtype(span, updated_arr_ty, arr_ty);
14291428
return (self.tcx.types.err, updated_arr_ty);

0 commit comments

Comments
 (0)