mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-30 07:05:29 +00:00
When the formatting args to `fmt::Write::write_fmt` are a statically known string, it simplifies to only calling `write_str` without a runtime branch. Do the same in `io::Write::write_fmt` with `write_all`. Also, match the convention of `fmt::Write` for the name of `args`.