about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-03-27 12:44:10 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-03-27 12:44:10 -0700
commit8ec3695a6774ffaad11dead0fda399102060790e (patch)
tree93f3d34d9d79165fe97110574813dd2aeb72c5b1
parentdf50510937263e4b5c284a7818109a7325f80c91 (diff)
parent63bbdc15900b7ac92f8b3b9c5053c1e04730fcee (diff)
downloadrust-8ec3695a6774ffaad11dead0fda399102060790e.tar.gz
rust-8ec3695a6774ffaad11dead0fda399102060790e.zip
rollup merge of #23791: jviereck/fix-23713
Fixes #23713.
-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 6d9b93e9be0..f5cd4f81b7b 100644
--- a/src/libcore/option.rs
+++ b/src/libcore/option.rs
@@ -333,7 +333,7 @@ impl<T> Option<T> {
         }
     }
 
-    /// Returns the inner `T` of a `Some(T)`.
+    /// Moves the value `v` out of the `Option<T>` if the content of the `Option<T>` is a `Some(v)`.
     ///
     /// # Panics
     ///