Skip to content

Commit 146ff14

Browse files
committed
Fix dogfood error
1 parent 4de4d1e commit 146ff14

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
@@ -269,7 +269,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for AttrPass {
269269
}
270270
}
271271

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

0 commit comments

Comments
 (0)