Skip to content

Commit a7476d2

Browse files
committed
wildcard_match_arm: add lint properly.
1 parent a41ecc4 commit a7476d2

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -906,6 +906,7 @@ All notable changes to this project will be documented in this file.
906906
[`while_let_loop`]: https://rust-lang.github.io/rust-clippy/master/index.html#while_let_loop
907907
[`while_let_on_iterator`]: https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator
908908
[`wildcard_dependencies`]: https://rust-lang.github.io/rust-clippy/master/index.html#wildcard_dependencies
909+
[`wildcard_match_arm`]: https://rust-lang.github.io/rust-clippy/master/index.html#wildcard_match_arm
909910
[`write_literal`]: https://rust-lang.github.io/rust-clippy/master/index.html#write_literal
910911
[`write_with_newline`]: https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline
911912
[`writeln_empty_string`]: https://rust-lang.github.io/rust-clippy/master/index.html#writeln_empty_string

README.md

Lines changed: 1 addition & 1 deletion
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 292 lints included in this crate!](https://rust-lang.github.io/rust-clippy/master/index.html)
10+
[There are 293 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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>, conf: &Conf) {
488488
indexing_slicing::INDEXING_SLICING,
489489
inherent_impl::MULTIPLE_INHERENT_IMPL,
490490
literal_representation::DECIMAL_LITERAL_REPRESENTATION,
491+
matches::WILDCARD_MATCH_ARM,
491492
mem_forget::MEM_FORGET,
492493
methods::CLONE_ON_REF_PTR,
493494
methods::OPTION_UNWRAP_USED,

0 commit comments

Comments
 (0)