fix most compiler/ doctests

This commit is contained in:
Elliot Roberts
2022-04-15 15:04:34 -07:00
parent bf611439e3
commit 7907385999
116 changed files with 666 additions and 609 deletions

View File

@@ -14,7 +14,7 @@ pub struct MatchBranchSimplification;
///
/// For example:
///
/// ```rust
/// ```ignore (MIR)
/// bb0: {
/// switchInt(move _3) -> [42_isize: bb1, otherwise: bb2];
/// }
@@ -32,7 +32,7 @@ pub struct MatchBranchSimplification;
///
/// into:
///
/// ```rust
/// ```ignore (MIR)
/// bb0: {
/// _2 = Eq(move _3, const 42_isize);
/// goto -> bb3;