Fixed minor typo in docs for Result's err method

This commit is contained in:
YawarRaza7349 2014-12-26 00:31:48 -05:00
parent c43efee6de
commit 2fefb22dca

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