about summary refs log tree commit diff
path: root/src/libcore/ptr
diff options
context:
space:
mode:
authorDylan MacKenzie <ecstaticmorse@gmail.com>2020-04-22 17:59:30 -0700
committerDylan MacKenzie <ecstaticmorse@gmail.com>2020-04-22 18:01:26 -0700
commitb3c26de25e24f6fc2f0b31532d64a424e792c2e3 (patch)
treecbd3c746ed573d03b93831e52df323728136380d /src/libcore/ptr
parent00f677d8974b393ff32ca25bf916b6b9650c75b0 (diff)
downloadrust-b3c26de25e24f6fc2f0b31532d64a424e792c2e3.tar.gz
rust-b3c26de25e24f6fc2f0b31532d64a424e792c2e3.zip
Inline some function docs re-exported in `std::ptr`
Diffstat (limited to 'src/libcore/ptr')
-rw-r--r--src/libcore/ptr/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libcore/ptr/mod.rs b/src/libcore/ptr/mod.rs
index 4913cd73a2a..84f28488c74 100644
--- a/src/libcore/ptr/mod.rs
+++ b/src/libcore/ptr/mod.rs
@@ -76,12 +76,15 @@ use crate::intrinsics::{self, is_aligned_and_not_null, is_nonoverlapping};
 use crate::mem::{self, MaybeUninit};
 
 #[stable(feature = "rust1", since = "1.0.0")]
+#[doc(inline)]
 pub use crate::intrinsics::copy_nonoverlapping;
 
 #[stable(feature = "rust1", since = "1.0.0")]
+#[doc(inline)]
 pub use crate::intrinsics::copy;
 
 #[stable(feature = "rust1", since = "1.0.0")]
+#[doc(inline)]
 pub use crate::intrinsics::write_bytes;
 
 mod non_null;