From 46f27c9d965352497231490664ed37e6cdf7787e Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Mon, 18 Aug 2014 13:47:13 -0400 Subject: [PATCH] Improve text of Option.unwrap() Fixes #9099 --- src/libcore/option.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/option.rs b/src/libcore/option.rs index 74d87712a02ef..bf8a92a4f950a 100644 --- a/src/libcore/option.rs +++ b/src/libcore/option.rs @@ -244,7 +244,7 @@ impl Option { } } - /// Moves a value out of an option type and returns it, consuming the `Option`. + /// Returns the inner `T` of a `Some(T)`. /// /// # Failure ///