rust/library/core/src/ptr
bors 8e54a21139 Auto merge of #81238 - RalfJung:copy-intrinsics, r=m-ou-se
directly expose copy and copy_nonoverlapping intrinsics

This effectively un-does https://github.com/rust-lang/rust/pull/57997. That should help with `ptr::read` codegen in debug builds (and any other of these low-level functions that bottoms out at `copy`/`copy_nonoverlapping`), where the wrapper function will not get inlined. See the discussion in https://github.com/rust-lang/rust/pull/80290 and https://github.com/rust-lang/rust/issues/81163.

Cc `@bjorn3` `@therealprof`
2021-02-13 20:30:07 +00:00
..
const_ptr.rs Fixes #81109 - Typo in pointer::wrapping_sub 2021-01-18 20:31:47 +05:30
mod.rs Auto merge of #81238 - RalfJung:copy-intrinsics, r=m-ou-se 2021-02-13 20:30:07 +00:00
mut_ptr.rs Fixes #81109 - Typo in pointer::wrapping_sub 2021-01-18 20:31:47 +05:30
non_null.rs More clear documentation for NonNull<T> 2021-01-22 14:46:11 -05:00
unique.rs Remove a stray ignore-tidy-undocumented-unsafe 2020-09-08 15:00:47 -05:00