diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-08-18 09:27:42 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-18 09:27:42 +0900 |
| commit | 5498367faff37704b22f77dcf1cc10c89d42faba (patch) | |
| tree | 05c37a126b754ed04e3fb2071f06969234811cad /src/test/rustdoc-ui/coverage/json.rs | |
| parent | 381a841d8d44696358c77645f593997139ca80f3 (diff) | |
| parent | 93e074bc8a0766afbe3594f8663d702638ec0c35 (diff) | |
| download | rust-5498367faff37704b22f77dcf1cc10c89d42faba.tar.gz rust-5498367faff37704b22f77dcf1cc10c89d42faba.zip | |
Rollup merge of #75392 - TimDiekmann:non-null-uninit-slice, r=RalfJung
Add `as_uninit`-like methods to pointer types and unify documentation of `as_ref` methods This adds a convenient method to retrieve a `&(mut) [MaybeUninit<T>]` from slice pointers (`*const [T]`, `*mut [T]`, `NonNull<[T]>`). See also https://github.com/rust-lang/wg-allocators/issues/66#issuecomment-671789105. ~I'll add a tracking issue as soon as it's reviewed and CI passed.~ Tracking Issue: #75402 r? @RalfJung
Diffstat (limited to 'src/test/rustdoc-ui/coverage/json.rs')
0 files changed, 0 insertions, 0 deletions
