couple of clippy::perf fixes
This commit is contained in:
parent
83356b78c4
commit
e3036df003
11 changed files with 14 additions and 16 deletions
|
@ -353,7 +353,7 @@ impl CheckAttrVisitor<'_> {
|
|||
attr.span,
|
||||
OnlyHasEffectOn {
|
||||
attr_name: attr.name_or_empty(),
|
||||
target_name: allowed_target.name().replace(" ", "_"),
|
||||
target_name: allowed_target.name().replace(' ', "_"),
|
||||
},
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue