Skip to content

Commit 97e1ab0

Browse files
authored
Rollup merge of rust-lang#97259 - jyn514:fix-typo, r=JohnTitor
Fix typo in Mir phase docs
2 parents 76725e0 + 0c92d1c commit 97e1ab0

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)