Skip to content

Commit

Permalink
Remove delete alias from mem::drop.
Browse files Browse the repository at this point in the history
  • Loading branch information
m-ou-se committed Apr 21, 2021
1 parent 28b948f commit f1f3069
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 f1f3069

Please sign in to comment.