Update intrinsics.rs

This commit is contained in:
Lukas 2022-05-30 22:38:29 +00:00 committed by GitHub
parent c35035cefc
commit 7a9c13985e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2287,6 +2287,7 @@ pub const unsafe fn copy<T>(src: *const T, dst: *mut T, count: usize) {
/// // Now the box is fine
/// assert_eq!(*v, 42);
/// ```
#[doc(alias = "memset")]
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_ptr_write", issue = "86302")]
#[inline]