From f0fe0a6ebad583f10a6a1740ca93618c4f5dd175 Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Tue, 20 Oct 2020 21:53:54 -0300 Subject: [PATCH] or -> and --- compiler/rustc_mir/src/borrow_check/type_check/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_mir/src/borrow_check/type_check/mod.rs b/compiler/rustc_mir/src/borrow_check/type_check/mod.rs index 1bd4440c9c8..c6ec5c5db27 100644 --- a/compiler/rustc_mir/src/borrow_check/type_check/mod.rs +++ b/compiler/rustc_mir/src/borrow_check/type_check/mod.rs @@ -1719,7 +1719,7 @@ impl<'a, 'tcx> TypeChecker<'a, 'tcx> { ); } - // When `unsized_fn_params` or `unsized_locals` is not enabled, + // When `unsized_fn_params` and `unsized_locals` is not enabled, // this check is done at `check_local`. if self.tcx().features().unsized_locals || self.tcx().features().unsized_fn_params { let span = term.source_info.span;