]> git.lizzy.rs Git - rust.git/commitdiff
Remove `memset` alias from `fill_with`.
authorThom Chiovoloni <chiovolonit@gmail.com>
Mon, 30 May 2022 23:26:00 +0000 (16:26 -0700)
committerThom Chiovoloni <chiovolonit@gmail.com>
Mon, 30 May 2022 23:26:00 +0000 (16:26 -0700)
library/core/src/slice/mod.rs

index f5a90cb3d7ac9fcb5e27daf0ea54a455cc206000..77fd1ec2b8ea2594022102112e24773d715b2bdf 100644 (file)
@@ -3083,7 +3083,6 @@ pub fn fill(&mut self, value: 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