about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src/rustc.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-08-11 07:51:49 +0200
committerGitHub <noreply@github.com>2024-08-11 07:51:49 +0200
commite8f6819db7eadd0f91ef55d63131c1ee924239a5 (patch)
tree79732383095ca30a38de8c0f7ad3650e0043cfd6 /compiler/rustc_pattern_analysis/src/rustc.rs
parent730d5d4095a264ef5f7c0a0781eea68c15431d45 (diff)
parent7d1de7f9942e4f91f3fc6dbfd56491caccd02f64 (diff)
downloadrust-e8f6819db7eadd0f91ef55d63131c1ee924239a5.tar.gz
rust-e8f6819db7eadd0f91ef55d63131c1ee924239a5.zip
Rollup merge of #120314 - mina86:i, r=Mark-Simulacrum
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
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/rustc.rs')
0 files changed, 0 insertions, 0 deletions