Skip to content

Commit d94df72

Browse files
committed
Update lints again.
1 parent 4183a93 commit d94df72

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

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

9-
[There are 345 lints included in this crate!](https://rust-lang.github.io/rust-clippy/master/index.html)
9+
[There are 346 lints included in this crate!](https://rust-lang.github.io/rust-clippy/master/index.html)
1010

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

clippy_lints/src/methods/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3271,7 +3271,7 @@ fn lint_filetype_is_file(cx: &LateContext<'_, '_>, expr: &hir::Expr<'_>, args: &
32713271
if_chain! {
32723272
if let Some(parent) = get_parent_expr(cx, expr);
32733273
if let hir::ExprKind::Unary(op, _) = parent.kind;
3274-
if op == hir::UnNot;
3274+
if op == hir::UnOp::UnNot;
32753275
then {
32763276
lint_unary = "!";
32773277
verb = "denies";

src/lintlist/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ pub use lint::Lint;
66
pub use lint::LINT_LEVELS;
77

88
// begin lint list, do not remove this comment, it’s used in `update_lints`
9-
pub const ALL_LINTS: [Lint; 345] = [
9+
pub const ALL_LINTS: [Lint; 346] = [
1010
Lint {
1111
name: "absurd_extreme_comparisons",
1212
group: "correctness",

0 commit comments

Comments
 (0)