未验证 提交 7f125611 编写于 作者: B Bastian Kauschke 提交者: GitHub

dedup docs

Co-Authored-By: NMazdak Farrokhzad <twingoow@gmail.com>
上级 50ab7738
......@@ -1423,7 +1423,6 @@ fn check_array_pat_len(
} 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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册