The as_ref 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 commit is a modification of the example in main as_mut section. |
||
|---|---|---|
| .. | ||
| const_ptr.rs | ||
| mod.rs | ||
| mut_ptr.rs | ||
| non_null.rs | ||
| unique.rs | ||