mirror of
https://github.com/rust-lang/rust.git
synced 2026-01-20 09:20:36 +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