about summary refs log tree commit diff
path: root/clippy_lints/src/derive.rs
diff options
context:
space:
mode:
Diffstat (limited to 'clippy_lints/src/derive.rs')
-rw-r--r--clippy_lints/src/derive.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/clippy_lints/src/derive.rs b/clippy_lints/src/derive.rs
index 715348e869e..f425dd5fb70 100644
--- a/clippy_lints/src/derive.rs
+++ b/clippy_lints/src/derive.rs
@@ -24,8 +24,8 @@ use rustc_span::sym;
 
 declare_clippy_lint! {
     /// ### What it does
-    /// Checks for deriving `Hash` but implementing `PartialEq`
-    /// explicitly or vice versa.
+    /// Lints against manual `PartialEq` implementations for types with a derived `Hash`
+    /// implementation.
     ///
     /// ### Why is this bad?
     /// The implementation of these traits must agree (for
@@ -54,8 +54,8 @@ declare_clippy_lint! {
 
 declare_clippy_lint! {
     /// ### What it does
-    /// Checks for deriving `Ord` but implementing `PartialOrd`
-    /// explicitly or vice versa.
+    /// Lints against manual `PartialOrd` and `Ord` implementations for types with a derived `Ord`
+    /// or `PartialOrd` implementation.
     ///
     /// ### Why is this bad?
     /// The implementation of these traits must agree (for