From c7357270b8b93ef23f6295abecf8ff27948881c3 Mon Sep 17 00:00:00 2001 From: Will Crichton Date: Thu, 26 Aug 2021 13:23:24 -0700 Subject: [PATCH] Formatting --- compiler/rustc_index/src/bit_set/tests.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/compiler/rustc_index/src/bit_set/tests.rs b/compiler/rustc_index/src/bit_set/tests.rs index 5ff53211bc7..aebc6d0ddd8 100644 --- a/compiler/rustc_index/src/bit_set/tests.rs +++ b/compiler/rustc_index/src/bit_set/tests.rs @@ -350,24 +350,24 @@ fn sparse_matrix_operations() { assert!(matrix.row(0).is_none()); } - // SparseBitMatrix::subtract_row - { + // SparseBitMatrix::subtract_row + { let mut matrix = matrix.clone(); assert!(!matrix.subtract_row(3, &disjoint)); assert!(matrix.subtract_row(3, &subset)); assert!(matrix.subtract_row(3, &superset)); matrix.intersect_row(0, &disjoint); assert!(matrix.row(0).is_none()); - } + } - // SparseBitMatrix::union_row - { + // SparseBitMatrix::union_row + { let mut matrix = matrix.clone(); assert!(!matrix.union_row(3, &subset)); assert!(matrix.union_row(3, &disjoint)); matrix.union_row(0, &disjoint); assert!(matrix.row(0).is_some()); - } + } } /// Merge dense hybrid set into empty sparse hybrid set.