rust/src/liballoc
bors 0217315bf2 Auto merge of #44877 - nvzqz:box-conversions, r=alexcrichton
Improve raw Box conversions

This PR has two goals:

- Reduce use of `mem::transmute` in `Box` conversions

  I understand that `mem::transmute`-ing non `#[repr(C)]` types is implementation-defined behavior.  This may not matter within the reference implementation of Rust, but I believe it's important to remain consistent. For example, I noticed that `str::from_utf8_unchecked` went from using `mem::transmute` to using pointer casts.

- Make `Box` pointer conversions more straightforward regarding `Unique`
2017-10-10 11:07:25 +00:00
..
benches Auto merge of #43010 - stjepang:stabilize-sort-unstable, r=alexcrichton 2017-07-02 23:54:32 +00:00
btree Implement entry_and_modify 2017-10-06 09:10:31 +01:00
tests Add support for ..= syntax 2017-09-22 22:05:18 +02:00
allocator.rs Auto merge of #44049 - alexcrichton:nounwind-allocators, r=BurntSushi 2017-08-29 00:58:17 +00:00
arc.rs Modify Rc/Arc language around mutability 2017-10-05 16:54:56 -04:00
binary_heap.rs address some FIXMEs whose associated issues were marked as closed 2017-09-30 11:33:47 +03:00
borrow.rs Merge crate collections into alloc 2017-06-13 23:37:34 -07:00
boxed.rs Auto merge of #44877 - nvzqz:box-conversions, r=alexcrichton 2017-10-10 11:07:25 +00:00
boxed_test.rs Direct conversions between slices and boxes. 2017-02-06 18:53:13 -05:00
Cargo.toml Merge crate collections into alloc 2017-06-13 23:37:34 -07:00
fmt.rs Add missing url for fmt module 2017-08-18 16:32:38 +02:00
heap.rs std: Mark allocation functions as nounwind 2017-08-28 08:06:52 -07:00
lib.rs Auto merge of #44682 - bluss:iter-rfold, r=dtolnay 2017-09-21 23:44:11 +00:00
linked_list.rs address some FIXMEs whose associated issues were marked as closed 2017-09-30 11:33:47 +03:00
macros.rs Implement Arc/Rc raw pointer conversions for ?Sized 2017-09-16 16:34:13 -07:00
range.rs Revert "Stabilize RangeArgument" 2017-06-30 08:34:53 -10:00
raw_vec.rs Rollup merge of #43891 - Fourchaux:master, r=steveklabnik 2017-08-17 10:44:07 -04:00
rc.rs Modify Rc/Arc language around mutability 2017-10-05 16:54:56 -04:00
slice.rs Make slice::split_at_mut example demonstrate mutability 2017-09-04 22:59:34 +01:00
str.rs Remove mem::transmute used in Box<str> conversions 2017-09-27 14:56:20 -04:00
string.rs Updated tracking issue for String::splice and its unstable-book entry 2017-09-17 10:41:24 +02:00
vec.rs Resolves #36284 - vec.rs documentation 2017-10-01 12:15:05 -04:00
vec_deque.rs address some FIXMEs whose associated issues were marked as closed 2017-09-30 11:33:47 +03:00