diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2020-07-03 17:16:56 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-03 17:16:56 -0700 |
| commit | 9a659c54e5c139d8d9a3e374b44c46bbd89788f8 (patch) | |
| tree | 62d9c97cad2622a9354e8c9ccf22492c2d089f1c /src/test/codegen/src-hash-algorithm | |
| parent | 50dcefca7813a2985c0f1c1863efbe5ce7958815 (diff) | |
| parent | 1b5ac57bfd4b0cca3bcdd0fa75c0f0e044ebf01e (diff) | |
| download | rust-9a659c54e5c139d8d9a3e374b44c46bbd89788f8.tar.gz rust-9a659c54e5c139d8d9a3e374b44c46bbd89788f8.zip | |
Rollup merge of #73845 - CAD97:weak-as-unsized-ptr, r=RalfJung
Use &raw in A|Rc::as_ptr This PR uses `&raw` for offsetting `*mut [A]RcInner<T> -> *mut T`. Additionally, this updates the implementation of `Weak::as_ptr` to support unsized `T`, though it does not yet relax the bounds of `Weak::as_ptr`/`into_raw`/`from_raw` to accept unsized `T`.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
