diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2020-07-17 18:13:50 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-17 18:13:50 -0700 |
| commit | 959774413a29efd20010947c6d4265aa93049dce (patch) | |
| tree | d1a3ab6bb6162011e2561c04f7e84113500db368 /library/std/src/sys/unix/stack_overflow.rs | |
| parent | 18e8089303952034ccf8a9e993770022eaf6dd53 (diff) | |
| parent | 4127ed1732f8fe55363df1b65b03b2e58d25fc7f (diff) | |
| download | rust-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
