Fixed a misleading documentation issue #64844
This commit is contained in:
parent
d16ee891c6
commit
6c6d27d685
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@
|
|||
//! # Options and pointers ("nullable" pointers)
|
||||
//!
|
||||
//! Rust's pointer types must always point to a valid location; there are
|
||||
//! no "null" pointers. Instead, Rust has *optional* pointers, like
|
||||
//! no "null" references. Instead, Rust has *optional* pointers, like
|
||||
//! the optional owned box, [`Option`]`<`[`Box<T>`]`>`.
|
||||
//!
|
||||
//! The following example uses [`Option`] to create an optional box of
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue