Fix typo in Mir phase docs

This commit is contained in:
Joshua Nelson 2022-05-21 16:21:44 -05:00
parent 536020c5f9
commit 0c92d1c7f3

View File

@ -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,
}