]> git.lizzy.rs Git - rust.git/commitdiff
fill in lint description for DERIVE_ORD_XOR_PARTIAL_ORD
authorRyan1729 <Ryan1729@gmail.com>
Mon, 27 Jul 2020 06:22:39 +0000 (00:22 -0600)
committerRyan1729 <Ryan1729@gmail.com>
Mon, 27 Jul 2020 06:22:39 +0000 (00:22 -0600)
clippy_lints/src/derive.rs

index 820ce85cff2874c920e7d46c0a86dc5673668d71..cdb748de0c0a2d0706def79c6f701f670babc248 100644 (file)
@@ -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 @@
     /// ```
     pub DERIVE_ORD_XOR_PARTIAL_ORD,
     correctness,
-    "default lint description"
+    "deriving `Ord` but implementing `PartialOrd` explicitly"
 }
 
 declare_clippy_lint! {