@@ -148,7 +148,7 @@ impl<'tcx> MirBorrowckCtxt<'_, 'tcx> {
148148 ///
149149 /// This function would create a label like this:
150150 ///
151- /// ```
151+ /// ```text
152152 /// | fn foo(x: &u32) { .. }
153153 /// ------- fully elaborated type of `x` is `&'1 u32`
154154 /// ```
@@ -300,7 +300,7 @@ impl<'tcx> MirBorrowckCtxt<'_, 'tcx> {
300300 /// elaborated type, returning something like `'1`. Result looks
301301 /// like:
302302 ///
303- /// ```
303+ /// ```text
304304 /// | fn foo(x: &u32) { .. }
305305 /// ------- fully elaborated type of `x` is `&'1 u32`
306306 /// ```
@@ -347,7 +347,7 @@ impl<'tcx> MirBorrowckCtxt<'_, 'tcx> {
347347 /// that has no type annotation.
348348 /// For example, we might produce an annotation like this:
349349 ///
350- /// ```
350+ /// ```text
351351 /// | foo(|a, b| b)
352352 /// | - -
353353 /// | | |
@@ -396,7 +396,7 @@ impl<'tcx> MirBorrowckCtxt<'_, 'tcx> {
396396 /// that contains the anonymous reference we want to give a name
397397 /// to. For example, we might produce an annotation like this:
398398 ///
399- /// ```
399+ /// ```text
400400 /// | fn a<T>(items: &[T]) -> Box<dyn Iterator<Item = &T>> {
401401 /// | - let's call the lifetime of this reference `'1`
402402 /// ```
@@ -600,7 +600,7 @@ impl<'tcx> MirBorrowckCtxt<'_, 'tcx> {
600600 /// fully elaborated type, returning something like `'1`. Result
601601 /// looks like:
602602 ///
603- /// ```
603+ /// ```text
604604 /// | let x = Some(&22);
605605 /// - fully elaborated type of `x` is `Option<&'1 u32>`
606606 /// ```
0 commit comments