Skip to content

Commit 44c5aa5

Browse files
bomblesssteveklabnik
authored andcommitted
Improve doc for Result::unwrap()
1 parent 5b98619 commit 44c5aa5

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
@@ -706,8 +706,8 @@ impl<T, E: fmt::Debug> Result<T, E> {
706706
///
707707
/// # Panics
708708
///
709-
/// Panics if the value is an `Err`, with a custom panic message provided
710-
/// by the `Err`'s value.
709+
/// Panics if the value is an `Err`, with a panic message provided by the
710+
/// `Err`'s value.
711711
///
712712
/// # Examples
713713
///

0 commit comments

Comments
 (0)