We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1699293 commit 8e80c57Copy full SHA for 8e80c57
src/librustc/mir/mod.rs
@@ -1818,7 +1818,7 @@ pub struct GeneratorLayout<'tcx> {
1818
///
1819
/// Example: If type check produces a closure with the closure substs:
1820
1821
-/// ```
+/// ```text
1822
/// ClosureSubsts = [
1823
/// i8, // the "closure kind"
1824
/// for<'x> fn(&'a &'x u32) -> &'x u32, // the "closure signature"
@@ -1829,7 +1829,7 @@ pub struct GeneratorLayout<'tcx> {
1829
/// here, there is one unique free region (`'a`) but it appears
1830
/// twice. We would "renumber" each occurence to a unique vid, as follows:
1831
1832
1833
1834
1835
/// for<'x> fn(&'1 &'x u32) -> &'x u32, // the "closure signature"
0 commit comments