Skip to content

Commit 7ab0c69

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

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/libcore/result.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -727,8 +727,7 @@ 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 `Err`'s value.
732731
///
733732
/// # Examples
734733
///

0 commit comments

Comments
 (0)