mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-31 21:47:15 +03:00
0334c45bb5
Instead of writing each `char` of an escape sequence one by one, this delegates to `Display`, which uses `write_str` internally in order to write the whole escape sequence at once.