diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-08-23 20:40:08 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-23 20:40:08 +0530 |
| commit | 12c1ac0a67d17e21a8d2e21941d3f3bd6b45c272 (patch) | |
| tree | 87b6a6043f271847d09d31b7f5f09be303eb814f /compiler/rustc_mir_transform/src | |
| parent | fd93ab43efe7dbda720de946fbe8c1ee92be3e45 (diff) | |
| parent | 8e6c5ad69668cb603641fc8445a62f004dc06828 (diff) | |
| download | rust-12c1ac0a67d17e21a8d2e21941d3f3bd6b45c272.tar.gz rust-12c1ac0a67d17e21a8d2e21941d3f3bd6b45c272.zip | |
Rollup merge of #100907 - Nilstrieb:unrachable-typo-lol, r=Dylan-DPC
Fix typo in UnreachableProp r? ``@Dylan-DPC``
Diffstat (limited to 'compiler/rustc_mir_transform/src')
| -rw-r--r-- | compiler/rustc_mir_transform/src/unreachable_prop.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir_transform/src/unreachable_prop.rs b/compiler/rustc_mir_transform/src/unreachable_prop.rs index 56d7799a125..95fda2eafe8 100644 --- a/compiler/rustc_mir_transform/src/unreachable_prop.rs +++ b/compiler/rustc_mir_transform/src/unreachable_prop.rs @@ -84,7 +84,7 @@ where TerminatorKind::Unreachable } else if is_unreachable(otherwise) { // If there are multiple targets, don't delete unreachable branches (like an unreachable otherwise) - // 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 // the otherwise, keeping its unreachable. // This looses information about reachability causing worse codegen. // For example (see src/test/codegen/match-optimizes-away.rs) |
