From ccecc4f6bf3ba62b0c8be29791a0857ea742ae6b Mon Sep 17 00:00:00 2001 From: Simon Vandel Sillesen Date: Sun, 4 Oct 2020 10:26:29 +0200 Subject: [PATCH] Drive-by formatting of comment --- compiler/rustc_mir/src/transform/simplify_try.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/rustc_mir/src/transform/simplify_try.rs b/compiler/rustc_mir/src/transform/simplify_try.rs index 05a88828070f..b42543c04eb3 100644 --- a/compiler/rustc_mir/src/transform/simplify_try.rs +++ b/compiler/rustc_mir/src/transform/simplify_try.rs @@ -696,8 +696,8 @@ fn find(&self) -> Vec { /// _0 = move _1; // bb2 /// ``` /// In this case the two statements are equal iff - /// 1: _0 is an enum where the variant index 0 is fieldless, and - /// 2: bb1 was targeted by a switch where the discriminant of _1 was switched on + /// - `_0` is an enum where the variant index 0 is fieldless, and + /// - bb1 was targeted by a switch where the discriminant of `_1` was switched on fn statement_equality( &self, adt_matched_on: Place<'tcx>,