Skip to content

Commit 7034d16

Browse files
committed
Update lint documentation using util/update_lints.py
1 parent c0c2014 commit 7034d16

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ All notable changes to this project will be documented in this file.
268268
[`diverging_sub_expression`]: https://github.com/Manishearth/rust-clippy/wiki#diverging_sub_expression
269269
[`doc_markdown`]: https://github.com/Manishearth/rust-clippy/wiki#doc_markdown
270270
[`double_neg`]: https://github.com/Manishearth/rust-clippy/wiki#double_neg
271+
[`double_parens`]: https://github.com/Manishearth/rust-clippy/wiki#double_parens
271272
[`drop_ref`]: https://github.com/Manishearth/rust-clippy/wiki#drop_ref
272273
[`duplicate_underscore_argument`]: https://github.com/Manishearth/rust-clippy/wiki#duplicate_underscore_argument
273274
[`empty_loop`]: https://github.com/Manishearth/rust-clippy/wiki#empty_loop

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ transparently:
179179

180180
## Lints
181181

182-
There are 180 lints included in this crate:
182+
There are 181 lints included in this crate:
183183

184184
name | default | triggers on
185185
-----------------------------------------------------------------------------------------------------------------------|---------|----------------------------------------------------------------------------------------------------------------------------------
@@ -216,6 +216,7 @@ name
216216
[diverging_sub_expression](https://github.com/Manishearth/rust-clippy/wiki#diverging_sub_expression) | warn | whether an expression contains a diverging sub expression
217217
[doc_markdown](https://github.com/Manishearth/rust-clippy/wiki#doc_markdown) | warn | presence of `_`, `::` or camel-case outside backticks in documentation
218218
[double_neg](https://github.com/Manishearth/rust-clippy/wiki#double_neg) | warn | `--x`, which is a double negation of `x` and not a pre-decrement as in C/C++
219+
[double_parens](https://github.com/Manishearth/rust-clippy/wiki#double_parens) | warn | Warn on unnecessary double parentheses
219220
[drop_ref](https://github.com/Manishearth/rust-clippy/wiki#drop_ref) | warn | calls to `std::mem::drop` with a reference instead of an owned value
220221
[duplicate_underscore_argument](https://github.com/Manishearth/rust-clippy/wiki#duplicate_underscore_argument) | warn | function arguments having names which only differ by an underscore
221222
[empty_loop](https://github.com/Manishearth/rust-clippy/wiki#empty_loop) | warn | empty `loop {}`, which should block or sleep

0 commit comments

Comments
 (0)