Files
rust/library
Matthias Krüger 809378bd2e Rollup merge of #138650 - thaliaarchi:io-write-fmt-known, r=ibraheemdev
Optimize `io::Write::write_fmt` for constant strings

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`.
2025-03-21 06:56:46 +01:00
..
2025-03-07 19:11:13 +00:00
2025-02-13 14:32:50 -08:00
2025-03-10 21:23:31 +08:00
2025-03-06 11:11:55 -08:00
2025-03-11 09:46:34 -07:00