about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-07-03 17:16:56 -0700
committerGitHub <noreply@github.com>2020-07-03 17:16:56 -0700
commit9a659c54e5c139d8d9a3e374b44c46bbd89788f8 (patch)
tree62d9c97cad2622a9354e8c9ccf22492c2d089f1c /src/test/codegen/src-hash-algorithm
parent50dcefca7813a2985c0f1c1863efbe5ce7958815 (diff)
parent1b5ac57bfd4b0cca3bcdd0fa75c0f0e044ebf01e (diff)
downloadrust-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