rust/library/core
Yuki Okushi c85075d522
Rollup merge of #75248 - TimDiekmann:NonNull-as_mut_ptr, r=RalfJung
Add `as_mut_ptr` to `NonNull<[T]>`

Adds `as_mut_ptr` to shortcut converting a `NonNull<[T]>` to `*mut T` as proposed in https://github.com/rust-lang/rust/issues/74265#issuecomment-669702969.

r? @RalfJung
2020-08-09 06:41:22 +09:00
..
benches
src Rollup merge of #75248 - TimDiekmann:NonNull-as_mut_ptr, r=RalfJung 2020-08-09 06:41:22 +09:00
tests Auto merge of #74948 - lzutao:stalize-result-as-deref, r=dtolnay 2020-08-02 23:55:12 +00:00
Cargo.toml