diff --git a/library/core/src/slice/mod.rs b/library/core/src/slice/mod.rs index f5a90cb3d7a..77fd1ec2b8e 100644 --- a/library/core/src/slice/mod.rs +++ b/library/core/src/slice/mod.rs @@ -3083,7 +3083,6 @@ impl [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(&mut self, mut f: F) where