diff options
| author | kennytm <kennytm@gmail.com> | 2017-12-26 15:18:59 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-12-26 15:18:59 +0800 |
| commit | c1d2eca7bad0e5dcd18fce34acb1446f9dedd299 (patch) | |
| tree | 45a73d61182440a7cd307be7aeae9be494561719 | |
| parent | 4ababefc559a4f0e00448f57b0190e944495ea20 (diff) | |
| parent | 8e80c571131e80233a91e9d5f6023bfdfceec16c (diff) | |
| download | rust-c1d2eca7bad0e5dcd18fce34acb1446f9dedd299.tar.gz rust-c1d2eca7bad0e5dcd18fce34acb1446f9dedd299.zip | |
Rollup merge of #46979 - clarcharr:rustc_docs, r=arielb1
Make internal docs build properly. `'1` isn't a valid lifetime and resulted in a syntax error.
| -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 7dba01df2c2..68f8098709c 100644 --- a/src/librustc/mir/mod.rs +++ b/src/librustc/mir/mod.rs @@ -1896,7 +1896,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" @@ -1907,7 +1907,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" |
