Skip to content

Commit

Permalink
Rollup merge of #71454 - ecstatic-morse:inline-core-ptr-docs, r=RalfJung
Browse files Browse the repository at this point in the history
Inline some function docs in `core::ptr`

Resolves #64539.
  • Loading branch information
Dylan-DPC authored Apr 23, 2020
2 parents 414355b + b3c26de commit 98cadb2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/libcore/ptr/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 98cadb2

Please sign in to comment.