Skip to content

Commit 9584b00

Browse files
committed
is -> are both
1 parent 4760338 commit 9584b00

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_mir/src/borrow_check/type_check

1 file changed

+1
-1
lines changed

compiler/rustc_mir/src/borrow_check/type_check/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1719,7 +1719,7 @@ impl<'a, 'tcx> TypeChecker<'a, 'tcx> {
17191719
);
17201720
}
17211721

1722-
// When `unsized_fn_params` and `unsized_locals` is not enabled,
1722+
// When `unsized_fn_params` and `unsized_locals` are both not enabled,
17231723
// this check is done at `check_local`.
17241724
if self.tcx().features().unsized_locals || self.tcx().features().unsized_fn_params {
17251725
let span = term.source_info.span;

0 commit comments

Comments
 (0)