xso{,-proc}: clippy

This doesn't fix all of the clippy warnings in these crates. There are
decisions that needs to be made in there that I'm not willing to make.

Signed-off-by: pep <pep@bouah.net>
This commit is contained in:
pep 2025-11-01 15:36:04 +01:00
commit 00b638fc38
4 changed files with 18 additions and 9 deletions

View file

@ -287,11 +287,11 @@ impl Compound {
// that in version 1.86, but that was rolled back.
let attr_a = attr_a.replace('{', "{{").replace('}', "}}");
let attr_b = attr_b.replace('{', "{{").replace('}', "}}");
let field_a = FieldName(&member_a)
let field_a = FieldName(member_a)
.to_string()
.replace('{', "{{")
.replace('}', "}}");
let field_b = FieldName(&member_b)
let field_b = FieldName(member_b)
.to_string()
.replace('{', "{{")
.replace('}', "}}");