Skip to content

Commit 43802ec

Browse files
Perform minor cleanup (tools edition)
1 parent b8061b8 commit 43802ec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/tools/clippy/clippy_lints/src/missing_doc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ impl<'tcx> LateLintPass<'tcx> for MissingDoc {
123123
hir::ItemKind::Const(..)
124124
| hir::ItemKind::Enum(..)
125125
| hir::ItemKind::Mod(..)
126-
| hir::ItemKind::Macro { .. }
126+
| hir::ItemKind::Macro(..)
127127
| hir::ItemKind::Static(..)
128128
| hir::ItemKind::Struct(..)
129129
| hir::ItemKind::Trait(..)

src/tools/clippy/clippy_lints/src/missing_inline.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ impl<'tcx> LateLintPass<'tcx> for MissingInline {
119119
hir::ItemKind::Const(..)
120120
| hir::ItemKind::Enum(..)
121121
| hir::ItemKind::Mod(..)
122-
| hir::ItemKind::Macro { .. }
122+
| hir::ItemKind::Macro(..)
123123
| hir::ItemKind::Static(..)
124124
| hir::ItemKind::Struct(..)
125125
| hir::ItemKind::TraitAlias(..)

0 commit comments

Comments
 (0)