diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-01-10 04:18:43 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-10 04:18:43 +0900 |
| commit | 9e83df0f69d0509c411808766c3472f11476bd9e (patch) | |
| tree | 0fcb109e9d947be2ccacd73bfb6ae722385d8626 /src/test/rustdoc-ui/coverage/json.rs | |
| parent | a366aa6249c0a8da29fbf2a8e36717bd5af1e56e (diff) | |
| parent | f8428cf8d8193c1a6268a046afea9bea85d4d9fe (diff) | |
| download | rust-9e83df0f69d0509c411808766c3472f11476bd9e.tar.gz rust-9e83df0f69d0509c411808766c3472f11476bd9e.zip | |
Rollup merge of #68054 - tspiteri:null-unchecked-as_mut, r=cramertj
doc: add Null-unchecked version section to mut pointer as_mut method The [`as_ref`](https://doc.rust-lang.org/std/primitive.pointer.html#method.as_ref-1) method already has a *Null-unchecked version* section, its example is a modification of the example in the main `as_ref` section. Similarly the example in this PR is a modification of the example in main [`as_mut`](https://doc.rust-lang.org/std/primitive.pointer.html#method.as_mut) section. Fixes #68032.
Diffstat (limited to 'src/test/rustdoc-ui/coverage/json.rs')
0 files changed, 0 insertions, 0 deletions
