about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-08-18 22:46:19 +0000
committerbors <bors@rust-lang.org>2014-08-18 22:46:19 +0000
commitfb4201ff34f445f6c4d16c01b38dea65bad8ada1 (patch)
tree6f0213c9e84fd8535ad07d1117eb48d2a6caabc6
parente8ad6a888ea0b03455c0c181cf644e7bca261b14 (diff)
parent46f27c9d965352497231490664ed37e6cdf7787e (diff)
downloadrust-fb4201ff34f445f6c4d16c01b38dea65bad8ada1.tar.gz
rust-fb4201ff34f445f6c4d16c01b38dea65bad8ada1.zip
auto merge of #16579 : steveklabnik/rust/gh9099, r=pcwalton
Fixes #9099
-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 74d87712a02..bf8a92a4f95 100644
--- a/src/libcore/option.rs
+++ b/src/libcore/option.rs
@@ -244,7 +244,7 @@ impl<T> Option<T> {
         }
     }
 
-    /// Moves a value out of an option type and returns it, consuming the `Option`.
+    /// Returns the inner `T` of a `Some(T)`.
     ///
     /// # Failure
     ///