about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-07-17 18:13:50 -0700
committerGitHub <noreply@github.com>2020-07-17 18:13:50 -0700
commit959774413a29efd20010947c6d4265aa93049dce (patch)
treed1a3ab6bb6162011e2561c04f7e84113500db368 /library/std/src/sys/unix/stack_overflow.rs
parent18e8089303952034ccf8a9e993770022eaf6dd53 (diff)
parent4127ed1732f8fe55363df1b65b03b2e58d25fc7f (diff)
downloadrust-959774413a29efd20010947c6d4265aa93049dce.tar.gz
rust-959774413a29efd20010947c6d4265aa93049dce.zip
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`.
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions