Fix dogfood error

This commit is contained in:
flip1995 2018-09-13 10:54:02 +02:00 committed by flip1995
parent ea4a80f215
commit cf89c40e34
No known key found for this signature in database
GPG Key ID: E8E897A5870E41C2

View File

@ -285,7 +285,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for AttrPass {
}
}
fn check_clippy_lint_names(cx: &LateContext<'_, '_>, items: &Vec<NestedMetaItem>) {
fn check_clippy_lint_names(cx: &LateContext<'_, '_>, items: &[NestedMetaItem]) {
let lint_store = cx.lints();
for lint in items {
if_chain! {