rust/src/libcore
Alexis Beingessner 6e2efe3aa4 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 `as_ptr` to Shared/Unique to replace Deref impl
* Added Unique's `as_ref` and `as_mut` conveniences to Shared
* Added `::empty()` convenience constructor for Unique/Shared
* Deprecated `as_mut_ptr` on Shared in favour of `as_ptr`
* Improved documentation of types

Note that Shared now only refers to *mut, and not *const
2017-05-04 14:56:02 -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 Run rustfmt on libcore/prelude folder 2016-10-16 22:13:04 +05:30
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 Rename compiler_barrier to compiler_fence 2017-04-13 10:27:52 -04:00
tests Rollup merge of #41493 - scottmcm:fix-step-replace, r=sfackler 2017-04-26 22:11:04 +00:00
any.rs Various fixes to wording consistency in the docs 2017-03-22 17:19:52 +01:00
array.rs std: Correct stability attributes for some implementations 2016-10-01 23:58:14 +01:00
borrow.rs Use #[prelude_import] in libcore. 2016-08-24 22:12:23 +00:00
Cargo.toml Move libXtest into libX/tests 2017-04-03 20:49:39 +02:00
cell.rs Add more explanation on RefCell::get_mut 2017-04-24 15:08:39 +02:00
char.rs Reduce str transmutes, add mut versions of methods. 2017-04-09 19:13:54 -04:00
char_private.rs Reduce a table used for Debug impl of str. 2017-04-05 09:13:19 -07: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 Bump version, upgrade bootstrap 2017-02-03 13:25:46 -08:00
internal_macros.rs Fix a few impl stability attributes 2017-01-29 13:31:47 +00:00
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 Minor changes to core::option docs 2017-04-02 06:10:34 +05:30
panicking.rs Mark all extern functions as nounwind 2015-09-14 11:36:09 +02:00
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 Remove macro work-around. 2016-11-12 12:47:13 -07:00