about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRyan1729 <Ryan1729@gmail.com>2020-07-27 00:22:39 -0600
committerRyan1729 <Ryan1729@gmail.com>2020-07-27 00:22:39 -0600
commit12a6eee045f30785a1eb7572a4cfea3c5cec8a4c (patch)
tree0a1c46317e5401d0b3456aaf75d68e6ff093fa31
parentca03f2b650a022d06df6c02c8947a74944815381 (diff)
downloadrust-12a6eee045f30785a1eb7572a4cfea3c5cec8a4c.tar.gz
rust-12a6eee045f30785a1eb7572a4cfea3c5cec8a4c.zip
fill in lint description for DERIVE_ORD_XOR_PARTIAL_ORD
-rw-r--r--clippy_lints/src/derive.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/clippy_lints/src/derive.rs b/clippy_lints/src/derive.rs
index 820ce85cff2..cdb748de0c0 100644
--- a/clippy_lints/src/derive.rs
+++ b/clippy_lints/src/derive.rs
@@ -1,7 +1,6 @@
 use crate::utils::paths;
 use crate::utils::{
-    get_trait_def_id, is_automatically_derived, is_copy, match_path, span_lint_and_help, span_lint_and_note,
-    span_lint_and_then,
+    get_trait_def_id, is_automatically_derived, is_copy, match_path, span_lint_and_help, span_lint_and_note, span_lint_and_then,
 };
 use if_chain::if_chain;
 use rustc_hir::def_id::DefId;
@@ -92,7 +91,7 @@ declare_clippy_lint! {
     /// ```
     pub DERIVE_ORD_XOR_PARTIAL_ORD,
     correctness,
-    "default lint description"
+    "deriving `Ord` but implementing `PartialOrd` explicitly"
 }
 
 declare_clippy_lint! {