diff options
| author | Bastian Kauschke <bastian_kauschke@hotmail.de> | 2020-03-30 19:09:59 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-30 19:09:59 +0200 |
| commit | 7f12561135e48fce7b23d58fa6ca4970d74523e3 (patch) | |
| tree | f1efe023bbde461bacb4a45de76fe0b9216266e2 | |
| parent | 50ab77384e8f990d64c7b7fd478b19da724d6e07 (diff) | |
| download | rust-7f12561135e48fce7b23d58fa6ca4970d74523e3.tar.gz rust-7f12561135e48fce7b23d58fa6ca4970d74523e3.zip | |
dedup docs
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
| -rw-r--r-- | src/librustc_typeck/check/pat.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/librustc_typeck/check/pat.rs b/src/librustc_typeck/check/pat.rs index b3e8569f372..9dbf0489470 100644 --- a/src/librustc_typeck/check/pat.rs +++ b/src/librustc_typeck/check/pat.rs @@ -1423,7 +1423,6 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> { } else if slice.is_none() { // We have a pattern with a fixed length, // which we can use to infer the length of the array. - // of the array. let updated_arr_ty = self.tcx.mk_array(element_ty, min_len); self.demand_eqtype(span, updated_arr_ty, arr_ty); return (self.tcx.types.err, updated_arr_ty); |
