diff options
Diffstat (limited to 'src/libcore/ptr.rs')
| -rw-r--r-- | src/libcore/ptr.rs | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/libcore/ptr.rs b/src/libcore/ptr.rs index 0e9570df09d..00326ecd3e7 100644 --- a/src/libcore/ptr.rs +++ b/src/libcore/ptr.rs @@ -106,28 +106,11 @@ use cmp::Ordering::{self, Less, Equal, Greater}; // FIXME #19649: intrinsic docs don't render, so these have no docs :( #[stable(feature = "rust1", since = "1.0.0")] -#[cfg(not(stage0))] pub use intrinsics::copy_nonoverlapping; -/// dox -#[cfg(stage0)] #[stable(feature = "rust1", since = "1.0.0")] -pub unsafe fn copy_nonoverlapping<T>(src: *const T, dst: *mut T, count: usize) { - intrinsics::copy_nonoverlapping(dst, src, count) -} - -#[stable(feature = "rust1", since = "1.0.0")] -#[cfg(not(stage0))] pub use intrinsics::copy; -/// dox -#[cfg(stage0)] -#[stable(feature = "rust1", since = "1.0.0")] -pub unsafe fn copy<T>(src: *const T, dst: *mut T, count: usize) { - intrinsics::copy(dst, src, count) -} - - #[stable(feature = "rust1", since = "1.0.0")] pub use intrinsics::write_bytes; |
