rust/src/liballoc
Mazdak Farrokhzad b76a558227
Rollup merge of #63684 - GrayJack:const_list_new, r=Centril
Constify LinkedList new function

Change the `LinkedList::new()` function to become a const fn, allowing the use in constant context.
2019-08-30 23:08:01 +02:00
..
alloc liballoc: Unconfigure tests during normal build 2019-08-02 01:59:01 +03:00
benches bump rand to fix Miri failures 2019-08-04 14:50:26 +02:00
collections Rollup merge of #63684 - GrayJack:const_list_new, r=Centril 2019-08-30 23:08:01 +02:00
prelude Replace SliceConcatExt trait with inherent methods and SliceConcat helper trait 2019-07-05 11:49:30 +02:00
raw_vec liballoc: Unconfigure tests during normal build 2019-08-02 01:59:01 +03:00
rc Add implementations for converting boxed slices into boxed arrays 2019-08-05 10:26:53 -04:00
sync Add implementations for converting boxed slices into boxed arrays 2019-08-05 10:26:53 -04:00
tests Add the Layout of the failed allocation to TryReserveError::AllocError 2019-08-16 18:08:37 +02:00
alloc.rs liballoc: Unconfigure tests during normal build 2019-08-02 01:59:01 +03:00
borrow.rs Use associated_type_bounds where applicable - closes #61738 2019-08-08 22:39:15 +02:00
boxed.rs Doc nits 2019-08-17 15:42:05 +02:00
Cargo.toml bump rand to fix Miri failures 2019-08-04 14:50:26 +02:00
fmt.rs Make clear that format padding doesn't work for Debug 2019-04-13 15:39:49 +10:00
lib.rs Add the Layout of the failed allocation to TryReserveError::AllocError 2019-08-16 18:08:37 +02:00
macros.rs Hygienize use of built-in macros in the standard library 2019-08-15 22:58:50 +03:00
raw_vec.rs Add the Layout of the failed allocation to TryReserveError::AllocError 2019-08-16 18:08:37 +02:00
rc.rs Rename private helper method allocate_for_unsized to allocate_for_layout 2019-08-17 17:01:04 +02:00
slice.rs Update src/liballoc/slice.rs 2019-07-09 18:19:10 +02:00
str.rs Update src/liballoc/str.rs 2019-07-09 18:19:18 +02:00
string.rs Rename CollectionAllocError to TryReserveError 2019-08-16 18:08:06 +02:00
sync.rs Rollup merge of #63252 - nrc:arc-doc, r=alexcrichton 2019-08-19 22:48:52 +02:00
tests.rs Add implementations for converting boxed slices into boxed arrays 2019-08-05 10:26:53 -04:00
vec.rs Add a "diagnostic item" scheme 2019-08-30 01:00:55 +02:00