Fixed a misleading documentation issue #64844

This commit is contained in:
hman523 2019-09-30 00:26:42 -05:00
parent d16ee891c6
commit 6c6d27d685

View File

@ -46,7 +46,7 @@
//! # Options and pointers ("nullable" pointers) //! # Options and pointers ("nullable" pointers)
//! //!
//! Rust's pointer types must always point to a valid location; there are //! 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 optional owned box, [`Option`]`<`[`Box<T>`]`>`.
//! //!
//! The following example uses [`Option`] to create an optional box of //! The following example uses [`Option`] to create an optional box of