rust/src/libcore
bors c0f86f5927 Auto merge of #41602 - hsivonen:explainnonnull, r=steveklabnik
Explain why zero-length slices require a non-null pointer

In reference to [a thread on Discourse](https://users.rust-lang.org/t/why-does-std-slice-from-raw-parts-require-a-non-null-pointer-for-zero-length-slices/10534), explain why `from_raw_parts` requires a non-null pointer for zero-length slices.

r? @steveklabnik
2017-04-30 07:58:10 +00: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 Fixed indent, grammar, and link in std::hash docs 2017-04-10 17:50:54 +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 comments 2017-04-18 08:29:05 +10: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 Bump version, upgrade bootstrap 2017-02-03 13:25:46 -08:00
ops.rs Explicit help message for binop type missmatch 2017-04-10 14:28:38 -07: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 Update stage0 bootstrap compiler 2017-04-29 12:11:14 -07: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