os-rust/library/alloc
Ö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 add transmute-via-iterators bench 2021-03-21 20:54:05 +01:00
src Rollup merge of #83456 - notriddle:vec-from-docs, r=JohnTitor 2021-03-26 02:34:41 +01:00
tests Update char::escape_debug_ext to handle different escapes in strings vs. chars 2021-03-26 11:23:51 +03:00
Cargo.toml Add license metadata for std dependencies 2021-02-21 13:36:18 -05:00