From de3ac3c3f84672f6a7b930272e556609750d91b1 Mon Sep 17 00:00:00 2001 From: Thom Chiovoloni Date: Mon, 30 May 2022 16:26:00 -0700 Subject: [PATCH] Remove `memset` alias from `fill_with`. --- library/core/src/slice/mod.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/library/core/src/slice/mod.rs b/library/core/src/slice/mod.rs index f5a90cb3d7ac9..77fd1ec2b8ea2 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