Skip to content

Commit 21f661a

Browse files
committed
rollup merge of #20239: YawarRaza7349/patch-1
2 parents 3801c26 + 2fefb22 commit 21f661a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/result.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ impl<T, E> Result<T, E> {
332332

333333
/// Convert from `Result<T, E>` to `Option<E>`
334334
///
335-
/// Converts `self` into an `Option<T>`, consuming `self`,
335+
/// Converts `self` into an `Option<E>`, consuming `self`,
336336
/// and discarding the value, if any.
337337
///
338338
/// # Example

0 commit comments

Comments
 (0)