rust/library/alloc/tests
Ö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
..
arc.rs
binary_heap.rs in-place collect for Vec. Box<[]> and BinaryHeap IntoIter and some adapters 2020-09-03 20:59:03 +02:00
borrow.rs Move various ui const tests to library 2020-09-04 02:35:27 +02:00
boxed.rs review: fix nits and move panic safety tests to the correct place 2020-09-25 23:10:24 +02:00
btree_set_hash.rs Move btree unit test to their native, privileged location 2020-08-14 17:54:09 +02:00
cow_str.rs
fmt.rs Update char::escape_debug_ext to handle different escapes in strings vs. chars 2021-03-26 11:23:51 +03:00
heap.rs Rename AllocRef to Allocator and (de)alloc to (de)allocate 2020-12-04 14:47:15 +01:00
lib.rs Revert "Revert stabilizing integer::BITS." 2021-03-24 22:34:36 +01:00
linked_list.rs
rc.rs
slice.rs Update the bootstrap compiler 2021-02-20 17:19:30 -05:00
str.rs break formatting so rustfmt is happy 2020-12-02 14:09:36 +01:00
string.rs Implement String::remove_matches 2021-03-05 11:27:58 -05:00
vec.rs Vec::dedup optimization - add benches 2021-03-16 14:41:26 +01:00
vec_deque.rs replace assert! with assert_eq! 2020-12-13 10:21:24 +01:00