about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTyler Mandry <tmandry@gmail.com>2019-09-30 14:38:28 -0700
committerGitHub <noreply@github.com>2019-09-30 14:38:28 -0700
commit5560f8c664f043dd1853fdfceacbb32011a0ad5f (patch)
treebac13dddc2a7fee20fd745d4a5077217852011bd
parenta8ed9bfe0234b2389c3135ba0c539de198732e20 (diff)
parent6c6d27d685c05671e156b506570b07902a6b76b7 (diff)
downloadrust-5560f8c664f043dd1853fdfceacbb32011a0ad5f.tar.gz
rust-5560f8c664f043dd1853fdfceacbb32011a0ad5f.zip
Rollup merge of #64911 - hman523:64844, r=Dylan-DPC
Fixed a misleading documentation issue #64844

Made the suggested change from @steveklabnik on issue #64844
-rw-r--r--src/libcore/option.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/option.rs b/src/libcore/option.rs
index 5569d99f8d8..301e432c98d 100644
--- a/src/libcore/option.rs
+++ b/src/libcore/option.rs
@@ -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