Skip to content

Commit

Permalink
Rollup merge of #97259 - jyn514:fix-typo, r=JohnTitor
Browse files Browse the repository at this point in the history
Fix typo in Mir phase docs
  • Loading branch information
JohnTitor authored May 22, 2022
2 parents 76725e0 + 0c92d1c commit 97e1ab0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_middle/src/mir/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ pub enum MirPhase {
///
/// Beginning with this phase, the following variants are disallowed:
/// * [`TerminatorKind::Yield`](terminator::TerminatorKind::Yield)
/// * [`TerminatorKind::GeneratorDrop](terminator::TerminatorKind::GeneratorDrop)
/// * [`TerminatorKind::GeneratorDrop`](terminator::TerminatorKind::GeneratorDrop)
GeneratorsLowered = 5,
Optimized = 6,
}
Expand Down

0 comments on commit 97e1ab0

Please sign in to comment.