Skip to content

Commit 12a6eee

Browse files
committed
fill in lint description for DERIVE_ORD_XOR_PARTIAL_ORD
1 parent ca03f2b commit 12a6eee

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

clippy_lints/src/derive.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
use crate::utils::paths;
22
use crate::utils::{
3-
get_trait_def_id, is_automatically_derived, is_copy, match_path, span_lint_and_help, span_lint_and_note,
4-
span_lint_and_then,
3+
get_trait_def_id, is_automatically_derived, is_copy, match_path, span_lint_and_help, span_lint_and_note, span_lint_and_then,
54
};
65
use if_chain::if_chain;
76
use rustc_hir::def_id::DefId;
@@ -92,7 +91,7 @@ declare_clippy_lint! {
9291
/// ```
9392
pub DERIVE_ORD_XOR_PARTIAL_ORD,
9493
correctness,
95-
"default lint description"
94+
"deriving `Ord` but implementing `PartialOrd` explicitly"
9695
}
9796

9897
declare_clippy_lint! {

0 commit comments

Comments
 (0)