mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-02 00:07:42 +03:00
7d1de7f994
Rather than writing character at a time, optimise Debug implementation for core::ascii::Char such that it writes the entire representation as with a single write_str call. With that, add tests for Display and Debug implementations.