Refactor codegen.rs to use write_line instead of field_entry for client initialization.
An example of this:
warning: redundant field names in struct initialization
--> xxx_ttrpc.rs
|
| client: client,
| ^^^^^^^^^^^^^^ help: replace it with: `client`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
= note: `#[warn(clippy::redundant_field_names)]` on by default
Refactor codegen.rs to use write_line instead of field_entry for client initialization.
An example of this: