diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-02-12 18:55:48 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-12 18:55:48 +0900 |
| commit | 5fbfaacab3c84d08d401728c17293f28f8dc20df (patch) | |
| tree | bcc6f0fa8c52cb4d36f7bdaa3cd21c9a0926be9d /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | a50ccd980a9f9038e83918fe936c2640044d1ab5 (diff) | |
| parent | 76aa29ff5e5a6bb355b017da4f6e476049b8dd76 (diff) | |
| download | rust-5fbfaacab3c84d08d401728c17293f28f8dc20df.tar.gz rust-5fbfaacab3c84d08d401728c17293f28f8dc20df.zip | |
Rollup merge of #69058 - TimDiekmann:box, r=Amanieu
Preparation for allocator aware `Box` This cleans up the `Box` code a bit, and uses `Box::from_raw(ptr)` instead of `Box(ptr)`. Additionally, `box_free` and `exchange_malloc` now uses the `AllocRef` trait and a comment was added on how `box_free` is tied to `Box`. This a preparation for an upcoming PR, which makes `Box` aware of an allocator. r? @Amanieu
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions
