diff options
| author | YawarRaza7349 <YawarRaza7349@gmail.com> | 2014-12-26 00:31:48 -0500 |
|---|---|---|
| committer | YawarRaza7349 <YawarRaza7349@gmail.com> | 2014-12-26 00:31:48 -0500 |
| commit | 2fefb22dca43d976c5cc65c88aa78573866e48a0 (patch) | |
| tree | ce9197cf5eface6b9d111c6d2ddd75d9f496e1fd /src | |
| parent | c43efee6def9a4a4e943feef0236d3e17b3f581d (diff) | |
| download | rust-2fefb22dca43d976c5cc65c88aa78573866e48a0.tar.gz rust-2fefb22dca43d976c5cc65c88aa78573866e48a0.zip | |
Fixed minor typo in docs for `Result`'s `err` method
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcore/result.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/result.rs b/src/libcore/result.rs index 8014b4dc89d..bd1c6dbcf1e 100644 --- a/src/libcore/result.rs +++ b/src/libcore/result.rs @@ -332,7 +332,7 @@ impl<T, E> Result<T, E> { /// Convert from `Result<T, E>` to `Option<E>` /// - /// Converts `self` into an `Option<T>`, consuming `self`, + /// Converts `self` into an `Option<E>`, consuming `self`, /// and discarding the value, if any. /// /// # Example |
