]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/clippy_lints/src/suspicious_xor_used_as_pow.rs
Auto merge of #107386 - flip1995:clippyup, r=Manishearth
[rust.git] / src / tools / clippy / clippy_lints / src / suspicious_xor_used_as_pow.rs
index 301aa5798bf556eeeb4bf2389fc671c25c08cbf0..9c0dc8096d0dcc5174699d6a038fef806f5ed667 100644 (file)
@@ -9,7 +9,7 @@
     /// ### 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;
@@ -18,7 +18,7 @@
     /// ```rust
     /// let x = 3_i32.pow(4);
     /// ```
-    #[clippy::version = "1.66.0"]
+    #[clippy::version = "1.67.0"]
     pub SUSPICIOUS_XOR_USED_AS_POW,
     restriction,
     "XOR (`^`) operator possibly used as exponentiation operator"