From 63bbdc15900b7ac92f8b3b9c5053c1e04730fcee Mon Sep 17 00:00:00 2001 From: Julian Viereck Date: Fri, 27 Mar 2015 20:14:09 +0100 Subject: [PATCH] Fix wording for Option.unwrap. Fixes #23713 --- 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 2dd8bf67220ab..84aad58f396f9 100644 --- a/src/libcore/option.rs +++ b/src/libcore/option.rs @@ -331,7 +331,7 @@ impl Option { } } - /// Returns the inner `T` of a `Some(T)`. + /// Moves the value `v` out of the `Option` if the content of the `Option` is a `Some(v)`. /// /// # Panics ///