Skip to content

Commit 2b477f3

Browse files
committed
Update lints again.
1 parent 77c48ca commit 2b477f3

File tree

1 file changed

+1
-1
lines changed
  • clippy_lints/src/methods

1 file changed

+1
-1
lines changed

clippy_lints/src/methods/mod.rs

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

0 commit comments

Comments
 (0)