diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-12-29 16:36:14 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-12-29 16:36:14 -0800 |
| commit | 21f661a6ef813233aca16f0cbec939256640f021 (patch) | |
| tree | 74e79d349dab6a5b5b6a3d80c9dc6b0889fec424 | |
| parent | 3801c2678fc1cffd310a36be86ac0a9b9d3a502d (diff) | |
| parent | 2fefb22dca43d976c5cc65c88aa78573866e48a0 (diff) | |
| download | rust-21f661a6ef813233aca16f0cbec939256640f021.tar.gz rust-21f661a6ef813233aca16f0cbec939256640f021.zip | |
rollup merge of #20239: YawarRaza7349/patch-1
| -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 |
