Fix some issues reported by clippy
These generally make the code more readable.
One particular missing one is the FooStruct { foo_field: foo_field, }
generated by the macros, we can’t generate just foo_field
there but this doesn’t hamper readability in any way since this happens in a macro.