mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
Fix NAIVE_BYTECOUNT applicability
This commit is contained in:
parent
6eb8e6d7c5
commit
87e72a5861
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue