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.
This commit is contained in:
Collin Styles 2023-01-26 16:44:44 -08:00
parent b5e3e600d9
commit a1a01c19f1

View file

@ -9,7 +9,7 @@ declare_clippy_lint! {
/// ### What it does
/// 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.
/// ### Why is this bad?
/// It's most probably a typo and may lead to unexpected behaviours.
/// It's most probably a typo and may lead to unexpected behaviours.
/// ### Example
/// ```rust
/// let x = 3_i32 ^ 4_i32;