Skip to content

Commit 7d45441

Browse files
committed
Fix dogfood error
1 parent 69faec3 commit 7d45441

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/attrs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for AttrPass {
285285
}
286286
}
287287

288-
fn check_clippy_lint_names(cx: &LateContext<'_, '_>, items: &Vec<NestedMetaItem>) {
288+
fn check_clippy_lint_names(cx: &LateContext<'_, '_>, items: &[NestedMetaItem]) {
289289
let lint_store = cx.lints();
290290
for lint in items {
291291
if_chain! {

0 commit comments

Comments
 (0)