diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2021-04-21 23:06:24 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-21 23:06:24 +0200 |
| commit | 268d29d75d4ba1839e1c288cb7bd594e8bb9662f (patch) | |
| tree | 9fc996698d93ac4f193b0837992b07c80c3c585c | |
| parent | 0749ea7cb83a242311da795a2dd4467715464f86 (diff) | |
| parent | f1f3069a98b4c391b231ae4a9a9f02a8b46f56d2 (diff) | |
| download | rust-268d29d75d4ba1839e1c288cb7bd594e8bb9662f.tar.gz rust-268d29d75d4ba1839e1c288cb7bd594e8bb9662f.zip | |
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
| -rw-r--r-- | library/core/src/mem/mod.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/library/core/src/mem/mod.rs b/library/core/src/mem/mod.rs index 446d72f1d32..5bf47c3951d 100644 --- a/library/core/src/mem/mod.rs +++ b/library/core/src/mem/mod.rs @@ -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) {} |
