Remove delete alias from mem::drop.

This commit is contained in:
Mara Bos 2021-04-21 21:54:39 +02:00
parent 28b948fc5c
commit f1f3069a98

View File

@ -886,7 +886,6 @@ pub const fn replace<T>(dest: &mut T, src: T) -> T {
/// ```
///
/// [`RefCell`]: crate::cell::RefCell
#[doc(alias = "delete")]
#[inline]
#[stable(feature = "rust1", since = "1.0.0")]
pub fn drop<T>(_x: T) {}