diff options
| author | flip1995 <hello@philkrones.com> | 2018-11-27 17:31:17 +0100 |
|---|---|---|
| committer | flip1995 <hello@philkrones.com> | 2018-11-27 17:31:17 +0100 |
| commit | 87e72a58616ab2c17877cdcf56035642cbcc536b (patch) | |
| tree | 925addb02cd6f4b15b4faa63e030b8bdcbe90e59 | |
| parent | 6eb8e6d7c59ba1dfb4f1e8d669ac8d7a5db06b68 (diff) | |
| download | rust-87e72a58616ab2c17877cdcf56035642cbcc536b.tar.gz rust-87e72a58616ab2c17877cdcf56035642cbcc536b.zip | |
Fix NAIVE_BYTECOUNT applicability
| -rw-r--r-- | clippy_lints/src/bytecount.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/bytecount.rs b/clippy_lints/src/bytecount.rs index 0547837795d..4f02b627e51 100644 --- a/clippy_lints/src/bytecount.rs +++ b/clippy_lints/src/bytecount.rs @@ -102,7 +102,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for ByteCount { format!("bytecount::count({}, {})", snippet_with_applicability(cx, haystack.span, "..", &mut applicability), snippet_with_applicability(cx, needle.span, "..", &mut applicability)), - Applicability::Unspecified, + applicability, ); } }; |
