Files
rust/src/liballoc
Mazdak Farrokhzad 1b66a13540 Rollup merge of #61244 - RalfJung:box, r=rkruppe
Box::into_vec: use Box::into_raw instead of mem::forget

`Box::into_raw` does, in one step, turn the `Box` into a raw ptr and avoid deallocation.  Seems cleaner than separating the two.

Also, `mem::forget` gets the `Box` with a `noalias` argument, but it is not actually correct that this is an exclusive pointer. So a stricter version of Stacked Borrows would complain here. (I can't actually make Stacked Borrows that strict yet though due to other issues.)
2019-05-30 10:52:55 +02:00
..
2019-04-12 20:07:30 +02:00
2019-05-27 22:42:50 +03:00
2019-05-17 07:17:15 -07:00
2019-05-26 08:53:59 +02:00
2019-04-30 17:50:38 +09:00
2019-05-26 08:53:59 +02:00