Files
rust/library/std/src
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-02-13 13:10:28 -08:00
2025-03-08 16:22:37 -08:00
…
…
…
2025-03-10 10:00:25 -07:00
2025-03-11 09:46:34 -07:00
2025-02-25 09:08:22 +05:30
…
…
2025-03-13 20:09:07 +00:00
2025-03-10 21:23:32 +08:00
…
2025-02-07 16:54:07 +01:00