Skip to content

Commit c3c7610

Browse files
committed
Improve doc for Result::unwrap()
1 parent b08d6cf commit c3c7610

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcore/result.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -727,8 +727,8 @@ impl<T, E: fmt::Debug> Result<T, E> {
727727
///
728728
/// # Panics
729729
///
730-
/// Panics if the value is an `Err`, with a custom panic message provided
731-
/// by the `Err`'s value.
730+
/// Panics if the value is an `Err`, with a panic message provided by the
731+
/// `Err`'s value.
732732
///
733733
/// # Examples
734734
///

0 commit comments

Comments
 (0)