mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-29 21:43:59 +00:00
core: optimise Debug impl for ascii::Char Rather than writing character at a time, optimise Debug implementation for core::ascii::Char such that it writes the entire representation with a single write_str call. With that, add tests for Display and Debug. Issue: https://github.com/rust-lang/rust/issues/110998