Uh oh!
There was an error while loading. Please reload this page.
Add a "by reference" adaptor for AllocRef - #71442
Conversation
Amanieu
commented
Apr 22, 2020
I've been thinking about how we're going to integrate This would allow us to have a blanket I don't think it will cause any issues in practice since all currently existing allocators use |
TimDiekmann
commented
Apr 23, 2020
While it would be possible to simply implement
I think this should be discussed in deepth in the WG's repository. Even if we decide to change the signature to |
Amanieu
commented
Apr 23, 2020
@bors r+ rollup |
bors
commented
Apr 23, 2020
📌 Commit e602680 has been approved by |
Rollup of 7 pull requests Successful merges: - rust-lang#70633 (Confusing suggestion on incorrect closing `}`) - rust-lang#71404 (Don't fuse Chain in its second iterator) - rust-lang#71408 (Check code blocks tags) - rust-lang#71442 (Add a "by reference" adaptor for `AllocRef`) - rust-lang#71446 (Only use read_unaligned in transmute_copy if necessary) - rust-lang#71470 (Fix doc links) - rust-lang#71479 (add back Scalar::null_ptr) Failed merges: r? @ghost
Fixesrust-lang/wg-allocators#53
r? @Amanieu