rust/library/alloc/tests
Lukas Kalbertodt db99f98c3e
Put panic code path from copy_from_slice into cold function
The previous `assert_eq` generated quite some code, which is especially
problematic when this call is inlined. This commit also slightly
improves the panic message from:

  assertion failed: `(left == right)`
    left: `3`,
   right: `2`: destination and source slices have different lengths

...to:

  source slice length (2) does not match destination slice length (3)
2020-08-12 21:12:21 +02:00
..
btree Add unit tests for new BTreeMap::into_{keys,values} methods 2020-08-07 13:13:42 +02:00
arc.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
binary_heap.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
borrow.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
boxed.rs fix typos 2020-08-02 23:20:00 +08:00
cow_str.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
fmt.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
heap.rs Replace Memoryblock with NonNull<[u8]> 2020-08-04 18:03:34 +02:00
lib.rs Add unit tests for new BTreeMap::into_{keys,values} methods 2020-08-07 13:13:42 +02:00
linked_list.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
rc.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
slice.rs Put panic code path from copy_from_slice into cold function 2020-08-12 21:12:21 +02:00
str.rs Add str::[r]split_once 2020-07-28 09:58:20 +02:00
string.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
vec.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
vec_deque.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00