diff options
| author | Clar Charr <clar@charr.xyz> | 2017-12-23 22:03:04 -0500 |
|---|---|---|
| committer | Clar Charr <clar@charr.xyz> | 2017-12-25 18:11:45 -0500 |
| commit | 8e80c571131e80233a91e9d5f6023bfdfceec16c (patch) | |
| tree | cb4a2a44bb272cdf97991a78f8da9d11c99f4a07 | |
| parent | 16992930835ce3376a4aaed42307726e1fc78e45 (diff) | |
Make internal docs build properly.
| -rw-r--r-- | src/librustc/mir/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc/mir/mod.rs b/src/librustc/mir/mod.rs index f410865a6cd..f2238ad2456 100644 --- a/src/librustc/mir/mod.rs +++ b/src/librustc/mir/mod.rs @@ -1818,7 +1818,7 @@ pub struct GeneratorLayout<'tcx> { /// /// Example: If type check produces a closure with the closure substs: /// -/// ``` +/// ```text /// ClosureSubsts = [ /// i8, // the "closure kind" /// for<'x> fn(&'a &'x u32) -> &'x u32, // the "closure signature" @@ -1829,7 +1829,7 @@ pub struct GeneratorLayout<'tcx> { /// here, there is one unique free region (`'a`) but it appears /// twice. We would "renumber" each occurence to a unique vid, as follows: /// -/// ``` +/// ```text /// ClosureSubsts = [ /// i8, // the "closure kind" /// for<'x> fn(&'1 &'x u32) -> &'x u32, // the "closure signature" |
