Skip to content

Commit

Permalink
Rollup merge of #120314 - mina86:i, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
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: rust-lang/rust#110998
  • Loading branch information
matthiaskrgr committed Aug 11, 2024
2 parents cb174a5 + c4e5e12 commit ee82b90
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit ee82b90

Please sign in to comment.