]> git.lizzy.rs Git - rust.git/blobdiff - clippy_lints/src/double_comparison.rs
Auto merge of #8901 - Jarcho:sharing_code, r=dswij
[rust.git] / clippy_lints / src / double_comparison.rs
index be95375789d5b4663ac7ed7212e9e16bf195b9c0..ee0440e52ff85a1ec3bb65d8c88d4801348fa2d3 100644 (file)
@@ -24,7 +24,7 @@
     /// if x == y || x < y {}
     /// ```
     ///
-    /// Could be written as:
+    /// Use instead:
     ///
     /// ```rust
     /// # let x = 1;