We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4ababef + 8e80c57 commit c1d2ecaCopy full SHA for c1d2eca
src/librustc/mir/mod.rs
@@ -1896,7 +1896,7 @@ pub struct GeneratorLayout<'tcx> {
1896
///
1897
/// Example: If type check produces a closure with the closure substs:
1898
1899
-/// ```
+/// ```text
1900
/// ClosureSubsts = [
1901
/// i8, // the "closure kind"
1902
/// for<'x> fn(&'a &'x u32) -> &'x u32, // the "closure signature"
@@ -1907,7 +1907,7 @@ pub struct GeneratorLayout<'tcx> {
1907
/// here, there is one unique free region (`'a`) but it appears
1908
/// twice. We would "renumber" each occurence to a unique vid, as follows:
1909
1910
1911
1912
1913
/// for<'x> fn(&'1 &'x u32) -> &'x u32, // the "closure signature"
0 commit comments