Skip to content

Commit f0fe0a6

Browse files
committed
or -> and
1 parent 8b8b639 commit f0fe0a6

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` or `unsized_locals` is not enabled,
1722+
// When `unsized_fn_params` and `unsized_locals` is 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)