Update clippy_lints/src/methods/mod.rs

Co-Authored-By: Philipp Krones <hello@philkrones.com>
This commit is contained in:
Rui 2020-01-08 16:40:34 +08:00 committed by xiongmao86
parent 8d3cc6b8a9
commit 1018b78f41

View file

@ -3278,7 +3278,7 @@ fn lint_filetype_is_file(cx: &LateContext<'_, '_>, expr: &hir::Expr<'_>, args: &
if op == hir::UnNot;
then {
lint_unary = "!";
verb = "denys";
verb = "denies";
help_unary = "";
span = parent;
} else {