rust/library/alloc/tests
Dylan DPC a40d79c9fb
Rollup merge of #76993 - blitzerr:alloc-ref, r=Amanieu
Changing the alloc() to accept &self instead of &mut self

Fixes: [#55](https://github.com/rust-lang/wg-allocators/issues/55)

This is the first cut. It only makes the change for `alloc` method.
2020-09-23 14:54:06 +02:00
..
arc.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
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 fix typos 2020-08-02 23:20:00 +08: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 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 removing &mut self for other methods of AllocRef 2020-09-22 06:22:02 -07:00
lib.rs Update library functions with stability attributes 2020-09-22 10:05:58 -07: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 in-place collect for Vec. Box<[]> and BinaryHeap IntoIter and some adapters 2020-09-03 20:59:03 +02:00
str.rs Move test-cases in string.rs 2020-09-06 09:23:40 +05:30
string.rs Use T::BITS instead of size_of::<T> * 8. 2020-09-19 06:54:42 +02:00
vec_deque.rs Add tests for overflow in String / VecDeque operations using ranges 2020-09-04 00:00:00 +00:00
vec.rs Use T::BITS instead of size_of::<T> * 8. 2020-09-19 06:54:42 +02:00