mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 02:00:00 +03:00
1de4b65d2a
1. Wherever the `buf` field of a `Formatter` was used, the `Formatter` is used instead. 2. The usage of `write_fmt` is minimized as much as possible, the `write!` macro is preferred wherever possible. 3. Usage of `fmt::write` is minimized, favoring the `write!` macro instead.