Rollup merge of #84406 - m-ou-se:drop-delete-alias, r=dtolnay

Remove `delete` alias from `mem::drop`.

See https://github.com/rust-lang/rust/pull/81988#issuecomment-824168459 and https://github.com/rust-lang/rust/pull/81988#issuecomment-824213843
This commit is contained in:
Mara Bos 2021-04-21 23:06:24 +02:00 committed by GitHub
commit 268d29d75d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) {}