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
..
benches num: add minimal benchmarks for full floating-point formatting 2017-04-28 15:24:09 -04:00
fmt fmt: use mem::uninitialized for float formatting buffers 2017-04-28 16:08:37 -04:00
hash Removal pass for anonymous parameters 2017-05-02 05:55:20 +02:00
iter Rollup merge of #41493 - scottmcm:fix-step-replace, r=sfackler 2017-04-26 22:11:04 +00:00
num Update stage0 bootstrap compiler 2017-04-29 12:11:14 -07:00
prelude
slice Explain why zero-length slices require a non-null pointer 2017-04-28 12:25:02 +03:00
str Explain why zero-length slices require a non-null pointer 2017-04-28 12:25:02 +03:00
sync Rollup merge of #41217 - topecongiro:docs/atomic-fence, r=steveklabnik 2017-05-02 21:21:17 -04:00
tests fallout from NonZero/Unique/Shared changes 2017-05-04 23:54:54 -04:00
any.rs Various fixes to wording consistency in the docs 2017-03-22 17:19:52 +01:00
array.rs
borrow.rs
Cargo.toml Move libXtest into libX/tests 2017-04-03 20:49:39 +02:00
cell.rs fallout from NonZero/Unique/Shared changes 2017-05-04 23:54:54 -04:00
char_private.rs Reduce a table used for Debug impl of str. 2017-04-05 09:13:19 -07:00
char.rs Reduce str transmutes, add mut versions of methods. 2017-04-09 19:13:54 -04:00
clone.rs Remove function invokation parens from documentation links. 2017-03-13 21:43:18 -04:00
cmp.rs Explicit help message for binop type missmatch 2017-04-10 14:28:38 -07:00
convert.rs Address review 2017-05-02 06:35:36 +02:00
default.rs
internal_macros.rs
intrinsics.rs Update stage0 bootstrap compiler 2017-04-29 12:11:14 -07:00
iter_private.rs Various fixes to wording consistency in the docs 2017-03-22 17:19:52 +01:00
lib.rs Use associated constants in core::num::dec2flt 2017-04-14 17:31:33 +02:00
macros.rs Fix a few stability attributes 2017-04-18 23:33:38 +01:00
marker.rs Update stage0 bootstrap compiler 2017-04-29 12:11:14 -07:00
mem.rs process:exit -> process::exit in mem::forget docs 2017-04-29 14:56:35 -04:00
nonzero.rs refactor NonZero, Shared, and Unique APIs 2017-05-04 14:56:02 -04:00
ops.rs Removal pass for anonymous parameters 2017-05-02 05:55:20 +02:00
option.rs Simplify types in std::option doc comment example. 2017-05-04 11:53:24 -04:00
panicking.rs
ptr.rs refactor NonZero, Shared, and Unique APIs 2017-05-04 14:56:02 -04:00
raw.rs Fix up various links 2017-03-20 10:10:16 -04:00
result.rs Fix external doc errors 2017-03-28 11:38:55 -06:00
tuple.rs