Skip to content

Commit 7472434

Browse files
committed
typo
1 parent e8b9ad5 commit 7472434

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_mir_build/src/build/matches

1 file changed

+2
-2
lines changed

compiler/rustc_mir_build/src/build/matches/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
6262
// likely(lhs && rhs) => likely(lhs) && likely(rhs)
6363
// unlikely(lhs && rhs) => lhs && unlikely(rhs)
6464
// Note that the `unlikely` propagation may be incorrect. With the information
65-
// available, we can't tell which of the operands in unlikely.
65+
// available, we can't tell which of the operands is unlikely.
6666

6767
let lhs_then_block = unpack!(this.then_else_break(
6868
block,
@@ -96,7 +96,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
9696
// likely(lhs || rhs) => lhs || likely(rhs)
9797
// unlikely(lhs || rhs) => unlikely(lhs) && unlikely(rhs)
9898
// Note that the `likely` propagation may be incorrect. With the information
99-
// available, we can't tell which of the operands in likely.
99+
// available, we can't tell which of the operands is likely.
100100

101101
let local_scope = this.local_scope();
102102
let (lhs_success_block, failure_block) =

0 commit comments

Comments
 (0)