Rollup merge of #97259 - jyn514:fix-typo, r=JohnTitor

Fix typo in Mir phase docs
This commit is contained in:
Yuki Okushi 2022-05-22 11:53:09 +09:00 committed by GitHub
commit 97e1ab0005
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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