@@ -18,14 +18,14 @@ declare_clippy_lint! {
1818 /// {`!=`, `>=`, `>`, `!=`, `>=`, `>`}) can be determined from the following
1919 /// table:
2020 ///
21- /// |Comparison |Bit Op|Example |is always|Formula |
22- /// |------------|------|------------|---------|----------------------|
23- /// |`==` or `!=`| `&` |`x & 2 == 3`|`false` |`c & m != c` |
24- /// |`<` or `>=`| `&` |`x & 2 < 3` |`true` |`m < c` |
25- /// |`>` or `<=`| `&` |`x & 1 > 1` |`false` |`m <= c` |
26- /// |`==` or `!=`| `|` |`x | 1 == 0`|`false` |`c | m != c` |
27- /// |`<` or `>=`| `|` |`x | 1 < 1` |`false` |`m >= c` |
28- /// |`<=` or `>` | `|` |`x | 1 > 0` |`true` |`m > c` |
21+ /// |Comparison |Bit Op|Example |is always|Formula |
22+ /// |------------|------|------------- |---------|----------------------|
23+ /// |`==` or `!=`| `&` |`x & 2 == 3` |`false` |`c & m != c` |
24+ /// |`<` or `>=`| `&` |`x & 2 < 3` |`true` |`m < c` |
25+ /// |`>` or `<=`| `&` |`x & 1 > 1` |`false` |`m <= c` |
26+ /// |`==` or `!=`| `\ |` |`x \ | 1 == 0`|`false` |`c \ | m != c` |
27+ /// |`<` or `>=`| `\ |` |`x \ | 1 < 1` |`false` |`m >= c` |
28+ /// |`<=` or `>` | `\ |` |`x \ | 1 > 0` |`true` |`m > c` |
2929 ///
3030 /// ### Why is this bad?
3131 /// If the bits that the comparison cares about are always
@@ -53,10 +53,10 @@ declare_clippy_lint! {
5353 /// without changing the outcome. The basic structure can be seen in the
5454 /// following table:
5555 ///
56- /// |Comparison| Bit Op |Example |equals |
57- /// |----------|---------| -----------|-------|
58- /// |`>` / `<=`|`|` / `^`|`x | 2 > 3`|`x > 3`|
59- /// |`<` / `>=`|`|` / `^`|`x ^ 1 < 4`|`x < 4`|
56+ /// |Comparison| Bit Op |Example |equals |
57+ /// |----------|----------|- -----------|-------|
58+ /// |`>` / `<=`|`\ |` / `^`|`x \ | 2 > 3`|`x > 3`|
59+ /// |`<` / `>=`|`\ |` / `^`|`x ^ 1 < 4` |`x < 4`|
6060 ///
6161 /// ### Why is this bad?
6262 /// Not equally evil as [`bad_bit_mask`](#bad_bit_mask),
0 commit comments