is -> are both

This commit is contained in:
Santiago Pastorino 2020-10-21 07:36:29 -03:00
parent 4760338ad2
commit 9584b00b1d
No known key found for this signature in database
GPG Key ID: 8131A24E0C79EFAF

View File

@ -1719,7 +1719,7 @@ impl<'a, 'tcx> TypeChecker<'a, 'tcx> {
);
}
// When `unsized_fn_params` and `unsized_locals` is not enabled,
// When `unsized_fn_params` and `unsized_locals` are both 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;