diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2022-05-22 11:53:09 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-22 11:53:09 +0900 |
| commit | 97e1ab0005e728363ad5a12bfb5229ef1bc0f60b (patch) | |
| tree | 11c0be122921a234e3a7532577b0f46f97b1fdef | |
| parent | 76725e081d5bfb6a7285acce8b3427cf3f60df58 (diff) | |
| parent | 0c92d1c7f3d6df0ddb2227fce4c89135ef4a9bcd (diff) | |
| download | rust-97e1ab0005e728363ad5a12bfb5229ef1bc0f60b.tar.gz rust-97e1ab0005e728363ad5a12bfb5229ef1bc0f60b.zip | |
Rollup merge of #97259 - jyn514:fix-typo, r=JohnTitor
Fix typo in Mir phase docs
| -rw-r--r-- | compiler/rustc_middle/src/mir/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/mir/mod.rs b/compiler/rustc_middle/src/mir/mod.rs index 7b68b1d755d..1eca22d3812 100644 --- a/compiler/rustc_middle/src/mir/mod.rs +++ b/compiler/rustc_middle/src/mir/mod.rs @@ -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, } |
