mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
Remove memset
alias from fill_with
.
This commit is contained in:
parent
84288ed6d5
commit
de3ac3c3f8
@ -3083,7 +3083,6 @@ impl<T> [T] {
|
||||
/// buf.fill_with(Default::default);
|
||||
/// assert_eq!(buf, vec![0; 10]);
|
||||
/// ```
|
||||
#[doc(alias = "memset")]
|
||||
#[stable(feature = "slice_fill_with", since = "1.51.0")]
|
||||
pub fn fill_with<F>(&mut self, mut f: F)
|
||||
where
|
||||
|
Loading…
Reference in New Issue
Block a user