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
1 changed files with 0 additions and 1 deletions
|
@ -886,7 +886,6 @@ pub const fn replace<T>(dest: &mut T, src: T) -> T {
|
||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
/// [`RefCell`]: crate::cell::RefCell
|
/// [`RefCell`]: crate::cell::RefCell
|
||||||
#[doc(alias = "delete")]
|
|
||||||
#[inline]
|
#[inline]
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
pub fn drop<T>(_x: T) {}
|
pub fn drop<T>(_x: T) {}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue