Skip to content

Commit b99eec4

Browse files
committed
fix(macros): allow collapsible_match to satisfy clippy on CI
1 parent 97a8f2a commit b99eec4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

core/macros/src/module.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ fn module_impl_impl(_args: ModuleArguments, mut mod_: ItemMod) -> SpannedResult<
170170

171171
for item in mod_.content.map_or_else(Vec::new, |c| c.1).as_mut_slice() {
172172
// Check for skip attributes.
173+
#[allow(clippy::collapsible_match)]
173174
match item {
174175
Item::Const(ItemConst { attrs, .. })
175176
| Item::Enum(ItemEnum { attrs, .. })

0 commit comments

Comments
 (0)