rust/library/core
Ömer Sinan Ağacan 819247f179 Update char::escape_debug_ext to handle different escapes in strings vs. chars
Fixes #83046

The program

    fn main() {
        println!("{:?}", '"');
        println!("{:?}", "'");
    }

would previously print

    '\"'
    "\'"

With this patch it now prints:

    '"'
    "'"
2021-03-26 11:23:51 +03:00
..
benches Auto merge of #81358 - mcastorina:to-upper-lower-speed, r=joshtriplett 2021-03-17 11:17:18 +00:00
src Update char::escape_debug_ext to handle different escapes in strings vs. chars 2021-03-26 11:23:51 +03:00
tests Auto merge of #82565 - m-ou-se:ununstabilize-bits, r=kennytm 2021-03-25 10:29:58 +00:00
Cargo.toml Auto merge of #82271 - Aaron1011:debug-refcell, r=m-ou-se 2021-03-23 04:49:47 +00:00