![]() Instead of calling new(), we can just use a struct expression directly. Before: Placeholder::new(…, …, …, …) After: Placeholder { position: …, flags: …, width: …, precision: …, } |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |
![]() Instead of calling new(), we can just use a struct expression directly. Before: Placeholder::new(…, …, …, …) After: Placeholder { position: …, flags: …, width: …, precision: …, } |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |