Skip to content

Commit 53f969d

Browse files
committed
Add the "memcpy" doc alias to slice::copy_from_slice
1 parent fe98231 commit 53f969d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/core/src/slice/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -2724,6 +2724,7 @@ impl<T> [T] {
27242724
///
27252725
/// [`clone_from_slice`]: #method.clone_from_slice
27262726
/// [`split_at_mut`]: #method.split_at_mut
2727+
#[doc(alias = "memcpy")]
27272728
#[stable(feature = "copy_from_slice", since = "1.9.0")]
27282729
pub fn copy_from_slice(&mut self, src: &[T])
27292730
where

0 commit comments

Comments
 (0)