rust/library/core/src/str
Ö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
..
converts.rs Convert primitives to use intra-doc links 2021-02-25 20:31:53 -05:00
error.rs Add #[inline] to the Utf8Error accessors. 2020-10-18 15:38:32 +02:00
iter.rs Rollup merge of #82570 - WaffleLapkin:split_whitespace_as_str, r=m-ou-se 2021-03-19 23:01:35 +01:00
lossy.rs Move utf-8 validating helpers to new mod 2020-09-26 05:20:53 +00:00
mod.rs Update char::escape_debug_ext to handle different escapes in strings vs. chars 2021-03-26 11:23:51 +03:00
pattern.rs Fixed some intra-docs links in library/core 2020-09-18 07:49:29 +08:00
traits.rs Convert the rest of the standard library primitives to intra-doc links 2021-02-25 20:32:49 -05:00
validations.rs Remove semicolon from internal err macro 2020-11-18 23:10:35 -05:00