Skip to content

Commit

Permalink
Rollup merge of rust-lang#71454 - ecstatic-morse:inline-core-ptr-docs…
Browse files Browse the repository at this point in the history
…, r=RalfJung

Inline some function docs in `core::ptr`

Resolves rust-lang#64539.
  • Loading branch information
JohnTitor authored Apr 23, 2020
2 parents c7e2617 + b3c26de commit e20df27
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 e20df27

Please sign in to comment.