rust/library/core/src/char
Ö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
..
convert.rs Rollup merge of #79502 - Julian-Wollersberger:from_char_for_u64, r=withoutboats 2021-01-10 16:55:53 +09:00
decode.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
methods.rs Update char::escape_debug_ext to handle different escapes in strings vs. chars 2021-03-26 11:23:51 +03:00
mod.rs Update char::escape_debug_ext to handle different escapes in strings vs. chars 2021-03-26 11:23:51 +03:00