about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLukas <lukas-code@outlook.com>2022-05-30 22:40:34 +0000
committerLukas <lukas-code@outlook.com>2022-05-31 00:41:39 +0200
commite565bb0326108534fab12aa9cfc7d56f2eb97aec (patch)
tree1a0b2d74626c365cb8e67be12b4f654eaa7be008
parent7a9c13985e5aeb9516eb586d8355bec61183b353 (diff)
downloadrust-e565bb0326108534fab12aa9cfc7d56f2eb97aec.tar.gz
rust-e565bb0326108534fab12aa9cfc7d56f2eb97aec.zip
Update mut_ptr.rs
-rw-r--r--library/core/src/ptr/mut_ptr.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/core/src/ptr/mut_ptr.rs b/library/core/src/ptr/mut_ptr.rs
index 37cf2ef4bfb..1aaa274a054 100644
--- a/library/core/src/ptr/mut_ptr.rs
+++ b/library/core/src/ptr/mut_ptr.rs
@@ -1412,6 +1412,7 @@ impl<T: ?Sized> *mut T {
     /// See [`ptr::write_bytes`] for safety concerns and examples.
     ///
     /// [`ptr::write_bytes`]: crate::ptr::write_bytes()
+    #[doc(alias = "memset")]
     #[stable(feature = "pointer_methods", since = "1.26.0")]
     #[rustc_const_unstable(feature = "const_ptr_write", issue = "86302")]
     #[inline(always)]