DPC
ea800d529a
fix tests
2020-08-29 17:25:14 +02:00
DPC
5e208efaa8
rename get_{ref, mut} to assume_init_{ref,mut} in Maybeuninit
2020-08-29 02:13:02 +02:00
Yuki Okushi
17d3ce457f
Rollup merge of #75038 - rust-lang:Havvy-patch-1, r=steveklabnik
...
See also X-Link mem::{swap, take, replace}
Since it's easy to end up at one of these functions when you really wanted the other one, cross link them with descriptions of why you'd want to use them.
2020-08-19 15:54:24 +09:00
chansuke
61866bc60c
Use intra-doc links in mem::manually_drop & mem::maybe_uninit
2020-08-15 02:33:39 +09:00
Ralf Jung
ec5d78d350
fix feature gate and tracking issue
2020-08-07 12:38:55 +02:00
Ralf Jung
0aee186723
make MaybeUninit::as_(mut_)ptr const
2020-08-07 12:24:28 +02:00
Ryan Scheel
e720f4237a
See also X-Link mem::{swap, take, replace}
2020-08-01 22:56:25 -07:00
Manish Goregaokar
39436ebe72
Rollup merge of #74602 - poliorcetics:maybe-uninit-zeroed-doc-clarification, r=jyn514
...
Clarify the doc for MaybeUninit::zeroed on incorrect use
Fixes #74343 .
@rustbot modify labels: C-enhancement, T-doc
2020-08-01 17:42:11 -07:00
Alexis Bourget
54eb3768e0
Reword incorrect use of zeroed()
2020-08-01 19:28:19 +02:00
Dylan MacKenzie
9caf0b5222
Make {align,size}_of_val const
2020-07-29 16:50:15 -07:00
Alexis Bourget
36bb5e8a42
Clarify the doc for MaybeUninit::zeroed on incorrect use
2020-07-28 18:54:15 +02:00
mark
2c31b45ae8
mv std libs to library/
2020-07-27 19:51:13 -05:00