We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fd93ab4 + 8e6c5ad commit 12c1ac0Copy full SHA for 12c1ac0
compiler/rustc_mir_transform/src/unreachable_prop.rs
@@ -84,7 +84,7 @@ where
84
TerminatorKind::Unreachable
85
} else if is_unreachable(otherwise) {
86
// If there are multiple targets, don't delete unreachable branches (like an unreachable otherwise)
87
- // unless otherwise is unrachable, in which case deleting a normal branch causes it to be merged with
+ // unless otherwise is unreachable, in which case deleting a normal branch causes it to be merged with
88
// the otherwise, keeping its unreachable.
89
// This looses information about reachability causing worse codegen.
90
// For example (see src/test/codegen/match-optimizes-away.rs)
0 commit comments