Skip to content

Commit

Permalink
Rollup merge of #84406 - m-ou-se:drop-delete-alias, r=dtolnay
Browse files Browse the repository at this point in the history
Remove `delete` alias from `mem::drop`.

See #81988 (comment) and #81988 (comment)
  • Loading branch information
m-ou-se authored Apr 21, 2021
2 parents 0749ea7 + f1f3069 commit 268d29d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion library/core/src/mem/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {}
Expand Down

0 comments on commit 268d29d

Please sign in to comment.