mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-03 14:34:58 +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.