rollup merge of #20239: YawarRaza7349/patch-1

This commit is contained in:
Alex Crichton 2014-12-29 16:36:14 -08:00
commit 21f661a6ef

View File

@ -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