Files
rust/src/libcore
Corey Farwell 6ace8a76cb Rollup merge of #41064 - Gankro:ptr-redux, r=alexcrichton
refactor NonZero, Shared, and Unique APIs

Major difference is that I removed Deref impls, as apparently LLVM has
trouble maintaining metadata with a `&ptr -> &ptr` API. This was cited
as a blocker for ever stabilizing this API. It wasn't that ergonomic
anyway.

* Added `get` to NonZero to replace Deref impl
* Added `ptr` getter to Shared/Unique to replace Deref impl
* Added Unique's `get` and `get_mut` conveniences to Shared
* Deprecated `as_mut_ptr` on Shared in favour of `ptr`

Note that Shared used to primarily expose only `*const` but there isn't
a good justification for that, so I made it `*mut`.
2017-05-05 17:35:24 -04:00
..
2017-04-29 12:11:14 -07:00
2016-08-24 22:12:23 +00:00
2017-04-03 20:49:39 +02:00
2017-05-02 06:35:36 +02:00
2017-02-03 13:25:46 -08:00
2017-04-29 12:11:14 -07:00
2017-04-18 23:33:38 +01:00
2017-04-29 12:11:14 -07:00
2017-05-02 05:55:20 +02:00
2017-03-20 10:10:16 -04:00
2017-03-28 11:38:55 -06:00
2016-11-12 12:47:13 -07:00