Skip to content

Commit 94b10a6

Browse files
committed
run cargo dev update_lints
1 parent 12a6eee commit 94b10a6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

clippy_lints/src/derive.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
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, span_lint_and_then,
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,
45
};
56
use if_chain::if_chain;
67
use rustc_hir::def_id::DefId;

src/lintlist/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ pub static ref ALL_LINTS: Vec<Lint> = vec![
363363
Lint {
364364
name: "derive_ord_xor_partial_ord",
365365
group: "correctness",
366-
desc: "default lint description",
366+
desc: "deriving `Ord` but implementing `PartialOrd` explicitly",
367367
deprecation: None,
368368
module: "derive",
369369
},

0 commit comments

Comments
 (0)