Add "memset" as doc alias to slice::fill()
This commit is contained in:
parent
172acf8f61
commit
7a3b331587
@ -2585,6 +2585,7 @@ impl<T> [T] {
|
||||
/// buf.fill(1);
|
||||
/// assert_eq!(buf, vec![1; 10]);
|
||||
/// ```
|
||||
#[doc(alias = "memset")]
|
||||
#[unstable(feature = "slice_fill", issue = "70758")]
|
||||
pub fn fill(&mut self, value: T)
|
||||
where
|
||||
|
Loading…
Reference in New Issue
Block a user