about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorFaris Sufyan <47665123+Dolpheyn@users.noreply.github.com>2020-05-13 21:04:52 +0800
committerGitHub <noreply@github.com>2020-05-13 21:04:52 +0800
commit46e9cbea3a65aff70c838ebbd157d715ee84718b (patch)
tree0fe63158563f8e55bc742790afef7201a97f067e /src/libcore
parentd80ac6416d1a6b38756e18c5b5ea421bbd11dfba (diff)
downloadrust-46e9cbea3a65aff70c838ebbd157d715ee84718b.tar.gz
rust-46e9cbea3a65aff70c838ebbd157d715ee84718b.zip
Update src/libcore/option.rs
Co-authored-by: Steve Klabnik <steve@steveklabnik.com>
Diffstat (limited to 'src/libcore')
-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 4df9eaa4815..542115763c2 100644
--- a/src/libcore/option.rs
+++ b/src/libcore/option.rs
@@ -1357,7 +1357,7 @@ impl<'a, T> IntoIterator for &'a mut Option<T> {
 
 #[stable(since = "1.12.0", feature = "option_from")]
 impl<T> From<T> for Option<T> {
-    /// Copies val to a new Option::Some
+    /// Copies `val` into a new `Some`.
     ///
     /// # Examples
     ///