summary refs log tree commit diff
path: root/library/alloc/tests/slice.rs
AgeCommit message (Collapse)AuthorLines
2020-09-03in-place collect for Vec. Box<[]> and BinaryHeap IntoIter and some adaptersThe8472-0/+9
2020-08-12Put panic code path from `copy_from_slice` into cold functionLukas Kalbertodt-2/+2
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-07-31expand commentsRalf Jung-1/+1
2020-07-31reduce slice::panic_safe test size further in MiriRalf Jung-1/+1
2020-07-27mv std libs to library/mark-0/+1771