mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-03 14:49:35 +00:00
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.