diff options
| author | Michal Nazarewicz <mina86@mina86.com> | 2024-01-24 16:48:54 +0100 |
|---|---|---|
| committer | Michal Nazarewicz <mina86@mina86.com> | 2024-08-09 22:50:57 +0200 |
| commit | 7d1de7f9942e4f91f3fc6dbfd56491caccd02f64 (patch) | |
| tree | 3838515bc891dfc14b4a24668f544b3eafc63fba /compiler/rustc_pattern_analysis/src/rustc.rs | |
| parent | 19ebdcedf1f5619f8f06c546c7541bb9b54aecda (diff) | |
| download | rust-7d1de7f9942e4f91f3fc6dbfd56491caccd02f64.tar.gz rust-7d1de7f9942e4f91f3fc6dbfd56491caccd02f64.zip | |
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 as with a single write_str call. With that, add tests for Display and Debug implementations.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/rustc.rs')
0 files changed, 0 insertions, 0 deletions
