Fix typo in Mir phase docs
This commit is contained in:
parent
536020c5f9
commit
0c92d1c7f3
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ pub enum MirPhase {
|
||||||
///
|
///
|
||||||
/// Beginning with this phase, the following variants are disallowed:
|
/// Beginning with this phase, the following variants are disallowed:
|
||||||
/// * [`TerminatorKind::Yield`](terminator::TerminatorKind::Yield)
|
/// * [`TerminatorKind::Yield`](terminator::TerminatorKind::Yield)
|
||||||
/// * [`TerminatorKind::GeneratorDrop](terminator::TerminatorKind::GeneratorDrop)
|
/// * [`TerminatorKind::GeneratorDrop`](terminator::TerminatorKind::GeneratorDrop)
|
||||||
GeneratorsLowered = 5,
|
GeneratorsLowered = 5,
|
||||||
Optimized = 6,
|
Optimized = 6,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue