From f1f3069a98b4c391b231ae4a9a9f02a8b46f56d2 Mon Sep 17 00:00:00 2001 From: Mara Bos Date: Wed, 21 Apr 2021 21:54:39 +0200 Subject: [PATCH] Remove `delete` alias from `mem::drop`. --- library/core/src/mem/mod.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/library/core/src/mem/mod.rs b/library/core/src/mem/mod.rs index 446d72f1d32e4..5bf47c3951da2 100644 --- a/library/core/src/mem/mod.rs +++ b/library/core/src/mem/mod.rs @@ -886,7 +886,6 @@ pub const fn replace(dest: &mut T, src: T) -> T { /// ``` /// /// [`RefCell`]: crate::cell::RefCell -#[doc(alias = "delete")] #[inline] #[stable(feature = "rust1", since = "1.0.0")] pub fn drop(_x: T) {}