Skip to content

Commit 07c7bb9

Browse files
committed
Make it clear which value is discarded
1 parent 46f649c commit 07c7bb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/result.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ impl<T, E> Result<T, E> {
330330
/// Convert from `Result<T, E>` to `Option<E>`
331331
///
332332
/// Converts `self` into an `Option<E>`, consuming `self`,
333-
/// and discarding the value, if any.
333+
/// and discarding the success value, if any.
334334
///
335335
/// # Examples
336336
///

0 commit comments

Comments
 (0)