Skip to content

Commit 7960cd7

Browse files
committed
Auto merge of #121150 - Swatinem:debug-ascii-str, r=joboet
Add a fast-path to `Debug` ASCII `&str` Instead of going through the `EscapeDebug` machinery, we can just skip over ASCII chars that don’t need any escaping. --- This is an alternative / a companion to rust-lang/rust#121138. The other PR is adding the fast path deep within `EscapeDebug`, whereas this skips as early as possible.
2 parents 334855b + 096efd7 commit 7960cd7

File tree

0 file changed

+0
-0
lines changed

    0 file changed

    +0
    -0
    lines changed

    0 commit comments

    Comments
     (0)