Skip to content

Commit

Permalink
Fix dogfood error
Browse files Browse the repository at this point in the history
  • Loading branch information
flip1995 committed Sep 13, 2018
1 parent 457bde2 commit ea1116f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/attrs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,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! {
Expand Down

0 comments on commit ea1116f

Please sign in to comment.