Skip to content

Commit 0c92d1c

Browse files
committed
Fix typo in Mir phase docs
1 parent 536020c commit 0c92d1c

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_middle/src/mir

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/mir/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ pub enum MirPhase {
189189
///
190190
/// Beginning with this phase, the following variants are disallowed:
191191
/// * [`TerminatorKind::Yield`](terminator::TerminatorKind::Yield)
192-
/// * [`TerminatorKind::GeneratorDrop](terminator::TerminatorKind::GeneratorDrop)
192+
/// * [`TerminatorKind::GeneratorDrop`](terminator::TerminatorKind::GeneratorDrop)
193193
GeneratorsLowered = 5,
194194
Optimized = 6,
195195
}

0 commit comments

Comments
 (0)