Remove memset alias from fill_with.

This commit is contained in:
Thom Chiovoloni 2022-05-30 16:26:00 -07:00
parent 84288ed6d5
commit de3ac3c3f8
No known key found for this signature in database
GPG Key ID: E2EFD4309E11C8A8

View File

@ -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