Skip to content

Commit 268d29d

Browse files
authored
Rollup merge of #84406 - m-ou-se:drop-delete-alias, r=dtolnay
Remove `delete` alias from `mem::drop`. See #81988 (comment) and #81988 (comment)
2 parents 0749ea7 + f1f3069 commit 268d29d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

library/core/src/mem/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -886,7 +886,6 @@ pub const fn replace<T>(dest: &mut T, src: T) -> T {
886886
/// ```
887887
///
888888
/// [`RefCell`]: crate::cell::RefCell
889-
#[doc(alias = "delete")]
890889
#[inline]
891890
#[stable(feature = "rust1", since = "1.0.0")]
892891
pub fn drop<T>(_x: T) {}

0 commit comments

Comments
 (0)