We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
suspicious_xor_used_as_pow
1 parent b5e3e60 commit a1a01c1Copy full SHA for a1a01c1
clippy_lints/src/suspicious_xor_used_as_pow.rs
@@ -9,7 +9,7 @@ declare_clippy_lint! {
9
/// ### What it does
10
/// 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.
11
/// ### Why is this bad?
12
- /// It's most probably a typo and may lead to unexpected behaviours.
+ /// It's most probably a typo and may lead to unexpected behaviours.
13
/// ### Example
14
/// ```rust
15
/// let x = 3_i32 ^ 4_i32;
0 commit comments