rust/src/libcore
Manish Goregaokar 959774413a
Rollup merge of #74450 - aticu:master, r=jonas-schievink
Fix `Safety` docs for `from_raw_parts_mut`

This aligns the wording more with the documentation of e.g. `drop_in_place`, `replace`, `swap` and `swap_nonoverlapping` from `core::ptr`.

Also if the pointer were really only valid for writes, it would be trivial to introduce UB from safe code, after calling `core::slice::from_raw_parts_mut`.
2020-07-17 18:13:50 -07:00
..
alloc Deny unsafe ops in unsafe fns, part 6 2020-06-30 19:28:51 +02:00
array Add comment for Ord implementation for array 2020-05-06 17:02:53 +08:00
benches Remove pointless black_box call, add a comment about the unaligned_ benches, and clean up stray semicolon 2020-07-06 07:43:38 -07:00
char Deny unsafe ops in unsafe fns, part 6 2020-06-30 19:28:51 +02:00
convert Rollup merge of #73421 - janikrabe:master, r=joshtriplett 2020-07-16 00:01:02 -07:00
fmt Add tracking issue number for fmt_as_str. 2020-07-17 17:56:55 +02:00
future Revert "Remove spotlight usage" 2020-07-16 09:58:34 -07:00
hash Deny unsafe ops in unsafe fns, part 6 2020-06-30 19:28:51 +02:00
iter Rollup merge of #74428 - tshepang:better-filter-map-doc, r=jonas-schievink 2020-07-17 14:09:28 -07:00
macros Make fmt::Arguments::as_str() return a 'static str. 2020-07-17 17:56:55 +02:00
mem apply bootstrap cfgs 2020-07-16 19:36:49 -04:00
num apply bootstrap cfgs 2020-07-16 19:36:49 -04:00
ops apply bootstrap cfgs 2020-07-16 19:36:49 -04:00
prelude Bump bootstrap compiler 2020-04-25 09:25:33 -04:00
ptr apply bootstrap cfgs 2020-07-16 19:36:49 -04:00
slice Fix Safety docs for from_raw_parts_mut 2020-07-17 19:47:25 +02:00
str Rollup merge of #74381 - mbrubeck:docs, r=Mark-Simulacrum 2020-07-16 00:01:13 -07:00
sync Deny unsafe ops in unsafe fns, part 6 2020-06-30 19:28:51 +02:00
task Use matches macro in libcore and libstd 2020-01-08 07:10:28 +03:00
tests integrate Lazy into std layout 2020-07-17 07:25:32 +10:00
unicode Stabilize UNICODE_VERSION (feature unicode_version) 2020-04-23 14:36:30 +02:00
any.rs Map to -> return. 2020-05-12 16:54:29 +01:00
ascii.rs Format libcore with rustfmt 2019-11-26 23:02:11 -08:00
bool.rs Format libcore with rustfmt (including tests and benches) 2019-12-06 20:20:51 -08:00
borrow.rs Format the world 2019-12-22 17:42:47 -05:00
Cargo.toml Ensure std benchmarks get tested. 2020-06-18 09:11:15 -07:00
cell.rs Deny unsafe ops in unsafe fns, part 6 2020-06-30 19:28:51 +02:00
clone.rs Bump bootstrap compiler 2020-04-25 09:25:33 -04:00
cmp.rs Fixing broken link for the Eq trait 2020-06-12 23:52:52 +02:00
default.rs Free default() forwarding to Default::default() 2020-06-07 01:27:06 -07:00
ffi.rs Avoid "whitelist" 2020-07-10 07:39:28 -04:00
hint.rs Deny unsafe ops in unsafe fns, part 6 2020-06-30 19:28:51 +02:00
internal_macros.rs Require issue = "none" over issue = "0" in unstable attributes 2019-12-21 13:16:18 +02:00
intrinsics.rs Auto merge of #74395 - Mark-Simulacrum:stage0-next, r=pietroalbini 2020-07-17 03:51:35 +00:00
lazy.rs link once_cell feature to #74465 2020-07-18 10:12:02 +10:00
lib.rs Rollup merge of #72414 - KodrAus:feat/stdlazy, r=Mark-Simulacrum 2020-07-17 18:13:39 -07:00
marker.rs improve DiscriminantKind handling 2020-07-15 10:20:44 +02:00
option.rs Rollup merge of #73930 - a1phyr:feature_const_option, r=dtolnay 2020-07-17 14:09:02 -07:00
panic.rs Stabilize #[track_caller]. 2020-06-30 22:22:32 -07:00
panicking.rs Make fmt::Arguments::as_str() return a 'static str. 2020-07-17 17:56:55 +02:00
pin.rs Deny unsafe ops in unsafe fns, part 6 2020-06-30 19:28:51 +02:00
primitive.rs Bump core::primitive to 1.43 2020-02-23 23:59:39 -08:00
raw.rs Use dyn trait syntax in more comments and docs 2020-05-24 14:46:50 +03:00
result.rs Fix broken inner_deref doc tests. 2020-06-20 12:27:16 -07:00
time.rs Constify most non-trait Duration methods as described in #72440 2020-07-15 21:37:16 +01:00
tuple.rs Format libcore with rustfmt 2019-11-26 23:02:11 -08:00
unit.rs Format libcore with rustfmt 2019-11-26 23:02:11 -08:00