Skip to content

Commit

Permalink
Add the "memcpy" doc alias to slice::copy_from_slice
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshuawuyts committed Nov 19, 2020
1 parent fe98231 commit 53f969d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/core/src/slice/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2724,6 +2724,7 @@ impl<T> [T] {
///
/// [`clone_from_slice`]: #method.clone_from_slice
/// [`split_at_mut`]: #method.split_at_mut
#[doc(alias = "memcpy")]
#[stable(feature = "copy_from_slice", since = "1.9.0")]
pub fn copy_from_slice(&mut self, src: &[T])
where
Expand Down

0 comments on commit 53f969d

Please sign in to comment.