mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-04 19:29:07 +00:00
Fixed a misleading documentation issue #64844
This commit is contained in:
parent
d16ee891c6
commit
6c6d27d685
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user