Skip to content

Commit a1a01c1

Browse files
committed
Fix docs for suspicious_xor_used_as_pow lint
There was a tab after the three leading slashes which caused the contents of the "Why is this bad?" section to be rendered as a code block.
1 parent b5e3e60 commit a1a01c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/suspicious_xor_used_as_pow.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ declare_clippy_lint! {
99
/// ### What it does
1010
/// Warns for a Bitwise XOR (`^`) operator being probably confused as a powering. It will not trigger if any of the numbers are not in decimal.
1111
/// ### Why is this bad?
12-
/// It's most probably a typo and may lead to unexpected behaviours.
12+
/// It's most probably a typo and may lead to unexpected behaviours.
1313
/// ### Example
1414
/// ```rust
1515
/// let x = 3_i32 ^ 4_i32;

0 commit comments

Comments
 (0)