]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_borrowck/src/member_constraints.rs
fix most compiler/ doctests
[rust.git] / compiler / rustc_borrowck / src / member_constraints.rs
index 0fe44328fd9f189d666eb794b09ad00c452a9784..f920d9d5c3f574f6fb56eb4e6cc448fbaa5d5b83 100644 (file)
@@ -169,7 +169,7 @@ impl<R> MemberConstraintSet<'_, R>
     /// Returns the "choice regions" for a given member
     /// constraint. This is the `R1..Rn` from a constraint like:
     ///
-    /// ```
+    /// ```text
     /// R0 member of [R1..Rn]
     /// ```
     crate fn choice_regions(&self, pci: NllMemberConstraintIndex) -> &[ty::RegionVid] {
@@ -195,14 +195,14 @@ fn index(&self, i: NllMemberConstraintIndex) -> &NllMemberConstraint<'tcx> {
 ///
 /// Before:
 ///
-/// ```
+/// ```text
 /// target_list: A -> B -> C -> (None)
 /// source_list: D -> E -> F -> (None)
 /// ```
 ///
 /// After:
 ///
-/// ```
+/// ```text
 /// target_list: A -> B -> C -> D -> E -> F -> (None)
 /// ```
 fn append_list(