diff options
| author | Collin Styles <collingstyles@gmail.com> | 2023-01-26 16:44:44 -0800 |
|---|---|---|
| committer | Collin Styles <collingstyles@gmail.com> | 2023-01-26 16:52:39 -0800 |
| commit | a1a01c19f15d597215911e966667e0d35905e967 (patch) | |
| tree | bbe04ffa70c5166d9976c282c41dcc8e7ac52326 /clippy_lints | |
| parent | b5e3e600d9f106d62aef8f7bf0650f5f1eef368e (diff) | |
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.
Diffstat (limited to 'clippy_lints')
| -rw-r--r-- | clippy_lints/src/suspicious_xor_used_as_pow.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/suspicious_xor_used_as_pow.rs b/clippy_lints/src/suspicious_xor_used_as_pow.rs index c181919b164..9c0dc8096d0 100644 --- a/clippy_lints/src/suspicious_xor_used_as_pow.rs +++ b/clippy_lints/src/suspicious_xor_used_as_pow.rs @@ -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; |
