Skip to content

Commit

Permalink
or -> and
Browse files Browse the repository at this point in the history
  • Loading branch information
spastorino committed Oct 27, 2020
1 parent 8b8b639 commit f0fe0a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_mir/src/borrow_check/type_check/mod.rs
Expand Up @@ -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;
Expand Down

0 comments on commit f0fe0a6

Please sign in to comment.