Antoni Boucher
9a6b75515e
Fix merge conflicts
2022-08-27 09:50:38 -04:00
Maybe Waffle
928ef372c3
Replace most uses of pointer::offset
with add
and sub
2022-08-21 02:21:41 +04:00
Yuki Okushi
e4b0d3aff2
Rollup merge of #97675 - nvzqz:unsized-needs-drop, r=dtolnay
...
Make `std::mem::needs_drop` accept `?Sized`
This change attempts to make `needs_drop` work with types like `[u8]` and `str`.
This enables code in types like `Arc<T>` that was not possible before, such as https://github.com/rust-lang/rust/pull/97676 .
2022-06-17 07:16:55 +09:00
Antoni Boucher
fac57d9a06
Merge commit 'e8dca3e87d164d2806098c462c6ce41301341f68' into sync_from_cg_gcc
2022-06-06 22:04:37 -04:00
Nikolai Vazquez
1d3037a107
Fix unsized field order
2022-06-03 12:58:36 -04:00
Nikolai Vazquez
be34cb35c7
Make std::mem::needs_drop
accept ?Sized
2022-06-03 03:28:19 -04:00
Yuri Astrakhan
74edcb8bd1
Spellchecking some comments
...
This PR attempts to clean up some minor spelling mistakes in comments
2022-03-30 01:39:38 -04:00
bjorn3
3888aafe3a
Merge commit '39683d8eb7a32a74bea96ecbf1e87675d3338506' into sync_cg_gcc-2022-03-26
2022-03-26 18:29:37 +01:00
Amanieu d'Antras
98f0580cdb
Remove alloc::prelude
...
As per the libs team decision in #58935 .
Closes #58935
2021-10-15 01:41:31 +02:00
antoyo
e228f0c16e
Cleanup ( #67 )
2021-08-15 08:28:46 -04:00
Antoni Boucher
afae271d5d
Initial commit
2021-08-12 21:46:50 -04:00