diff options
| author | Ryan1729 <Ryan1729@gmail.com> | 2020-07-27 00:22:39 -0600 |
|---|---|---|
| committer | Ryan1729 <Ryan1729@gmail.com> | 2020-07-27 00:22:39 -0600 |
| commit | 12a6eee045f30785a1eb7572a4cfea3c5cec8a4c (patch) | |
| tree | 0a1c46317e5401d0b3456aaf75d68e6ff093fa31 | |
| parent | ca03f2b650a022d06df6c02c8947a74944815381 (diff) | |
| download | rust-12a6eee045f30785a1eb7572a4cfea3c5cec8a4c.tar.gz rust-12a6eee045f30785a1eb7572a4cfea3c5cec8a4c.zip | |
fill in lint description for DERIVE_ORD_XOR_PARTIAL_ORD
| -rw-r--r-- | clippy_lints/src/derive.rs | 5 |
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! { |
