From b3c26de25e24f6fc2f0b31532d64a424e792c2e3 Mon Sep 17 00:00:00 2001 From: Dylan MacKenzie Date: Wed, 22 Apr 2020 17:59:30 -0700 Subject: [PATCH] Inline some function docs re-exported in `std::ptr` --- src/libcore/ptr/mod.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libcore/ptr/mod.rs b/src/libcore/ptr/mod.rs index 4913cd73a2a9a..84f28488c74b6 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;