]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_mir_transform/src/simplify_comparison_integral.rs
fix most compiler/ doctests
[rust.git] / compiler / rustc_mir_transform / src / simplify_comparison_integral.rs
index da683a33651d69c4e5f41cf3961d68398da5c3b5..bbfaace7041ecb77667fc6cdc2f4d93cbe9686fa 100644 (file)
@@ -12,7 +12,7 @@
 /// Pass to convert `if` conditions on integrals into switches on the integral.
 /// For an example, it turns something like
 ///
-/// ```
+/// ```ignore (MIR)
 /// _3 = Eq(move _4, const 43i32);
 /// StorageDead(_4);
 /// switchInt(_3) -> [false: bb2, otherwise: bb3];
@@ -20,7 +20,7 @@
 ///
 /// into:
 ///
-/// ```
+/// ```ignore (MIR)
 /// switchInt(_4) -> [43i32: bb3, otherwise: bb2];
 /// ```
 pub struct SimplifyComparisonIntegral;