1
Fork 0

Make internal docs build properly.

This commit is contained in:
Clar Charr 2017-12-23 22:03:04 -05:00
parent 1699293083
commit 8e80c57113

View file

@ -1818,7 +1818,7 @@ pub struct GeneratorLayout<'tcx> {
/// ///
/// Example: If type check produces a closure with the closure substs: /// Example: If type check produces a closure with the closure substs:
/// ///
/// ``` /// ```text
/// ClosureSubsts = [ /// ClosureSubsts = [
/// i8, // the "closure kind" /// i8, // the "closure kind"
/// for<'x> fn(&'a &'x u32) -> &'x u32, // the "closure signature" /// 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 /// here, there is one unique free region (`'a`) but it appears
/// twice. We would "renumber" each occurence to a unique vid, as follows: /// twice. We would "renumber" each occurence to a unique vid, as follows:
/// ///
/// ``` /// ```text
/// ClosureSubsts = [ /// ClosureSubsts = [
/// i8, // the "closure kind" /// i8, // the "closure kind"
/// for<'x> fn(&'1 &'x u32) -> &'x u32, // the "closure signature" /// for<'x> fn(&'1 &'x u32) -> &'x u32, // the "closure signature"