Skip to content

Commit 9d130a5

Browse files
committed
add dbg_macro rule to CHANGELOG.md and update count in README
1 parent 7ec5528 commit 9d130a5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -772,6 +772,7 @@ All notable changes to this project will be documented in this file.
772772
[`copy_iterator`]: https://rust-lang.github.io/rust-clippy/master/index.html#copy_iterator
773773
[`crosspointer_transmute`]: https://rust-lang.github.io/rust-clippy/master/index.html#crosspointer_transmute
774774
[`cyclomatic_complexity`]: https://rust-lang.github.io/rust-clippy/master/index.html#cyclomatic_complexity
775+
[`dbg_macro`]: https://rust-lang.github.io/rust-clippy/master/index.html#dbg_macro
775776
[`decimal_literal_representation`]: https://rust-lang.github.io/rust-clippy/master/index.html#decimal_literal_representation
776777
[`declare_interior_mutable_const`]: https://rust-lang.github.io/rust-clippy/master/index.html#declare_interior_mutable_const
777778
[`default_trait_access`]: https://rust-lang.github.io/rust-clippy/master/index.html#default_trait_access

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
A collection of lints to catch common mistakes and improve your [Rust](https://github.com/rust-lang/rust) code.
99

10-
[There are 294 lints included in this crate!](https://rust-lang.github.io/rust-clippy/master/index.html)
10+
[There are 295 lints included in this crate!](https://rust-lang.github.io/rust-clippy/master/index.html)
1111

1212
We have a bunch of lint categories to allow you to choose how much Clippy is supposed to ~~annoy~~ help you:
1313

clippy_lints/src/lib.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>, conf: &Conf) {
496496
reg.register_lint_group("clippy::restriction", Some("clippy_restriction"), vec![
497497
arithmetic::FLOAT_ARITHMETIC,
498498
arithmetic::INTEGER_ARITHMETIC,
499+
dbg_macro::DBG_MACRO,
499500
else_if_without_else::ELSE_IF_WITHOUT_ELSE,
500501
implicit_return::IMPLICIT_RETURN,
501502
indexing_slicing::INDEXING_SLICING,
@@ -591,7 +592,6 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>, conf: &Conf) {
591592
copies::IFS_SAME_COND,
592593
copies::IF_SAME_THEN_ELSE,
593594
cyclomatic_complexity::CYCLOMATIC_COMPLEXITY,
594-
dbg_macro::DBG_MACRO,
595595
derive::DERIVE_HASH_XOR_EQ,
596596
double_comparison::DOUBLE_COMPARISONS,
597597
double_parens::DOUBLE_PARENS,
@@ -803,7 +803,6 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>, conf: &Conf) {
803803
block_in_if_condition::BLOCK_IN_IF_CONDITION_STMT,
804804
collapsible_if::COLLAPSIBLE_IF,
805805
const_static_lifetime::CONST_STATIC_LIFETIME,
806-
dbg_macro::DBG_MACRO,
807806
enum_variants::ENUM_VARIANT_NAMES,
808807
enum_variants::MODULE_INCEPTION,
809808
eq_op::OP_REF,

0 commit comments

Comments
 (0)