diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-03-27 12:44:10 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-03-27 12:44:10 -0700 |
| commit | 8ec3695a6774ffaad11dead0fda399102060790e (patch) | |
| tree | 93f3d34d9d79165fe97110574813dd2aeb72c5b1 | |
| parent | df50510937263e4b5c284a7818109a7325f80c91 (diff) | |
| parent | 63bbdc15900b7ac92f8b3b9c5053c1e04730fcee (diff) | |
| download | rust-8ec3695a6774ffaad11dead0fda399102060790e.tar.gz rust-8ec3695a6774ffaad11dead0fda399102060790e.zip | |
rollup merge of #23791: jviereck/fix-23713
Fixes #23713.
| -rw-r--r-- | src/libcore/option.rs | 2 |
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 /// |
