Skip to content

Commit ea1116f

Browse files
committed
Fix dogfood error
1 parent 457bde2 commit ea1116f

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
@@ -264,7 +264,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for AttrPass {
264264
}
265265
}
266266

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

0 commit comments

Comments
 (0)