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:
commit
268d29d75d
@ -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) {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user