Skip to content

Commit e20df27

Browse files
authored
Rollup merge of #71454 - ecstatic-morse:inline-core-ptr-docs, r=RalfJung
Inline some function docs in `core::ptr` Resolves #64539.
2 parents c7e2617 + b3c26de commit e20df27

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/libcore/ptr/mod.rs

+3
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,15 @@ use crate::intrinsics::{self, is_aligned_and_not_null, is_nonoverlapping};
7676
use crate::mem::{self, MaybeUninit};
7777

7878
#[stable(feature = "rust1", since = "1.0.0")]
79+
#[doc(inline)]
7980
pub use crate::intrinsics::copy_nonoverlapping;
8081

8182
#[stable(feature = "rust1", since = "1.0.0")]
83+
#[doc(inline)]
8284
pub use crate::intrinsics::copy;
8385

8486
#[stable(feature = "rust1", since = "1.0.0")]
87+
#[doc(inline)]
8588
pub use crate::intrinsics::write_bytes;
8689

8790
mod non_null;

0 commit comments

Comments
 (0)