diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2014-08-18 13:47:13 -0400 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2014-08-18 13:47:13 -0400 |
| commit | 46f27c9d965352497231490664ed37e6cdf7787e (patch) | |
| tree | b854ec63b751eb58492d8193222f6571d5b75714 | |
| parent | 776c17f476c4be92f6cfe4dab528886973ea8c03 (diff) | |
| download | rust-46f27c9d965352497231490664ed37e6cdf7787e.tar.gz rust-46f27c9d965352497231490664ed37e6cdf7787e.zip | |
Improve text of Option.unwrap()
Fixes #9099
| -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 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 /// |
