diff --git a/src/libcore/result.rs b/src/libcore/result.rs index 26bc653b26fa4..03894926293af 100644 --- a/src/libcore/result.rs +++ b/src/libcore/result.rs @@ -727,8 +727,8 @@ impl Result { /// /// # Panics /// - /// Panics if the value is an `Err`, with a custom panic message provided - /// by the `Err`'s value. + /// Panics if the value is an `Err`, with a panic message provided by the + /// `Err`'s value. /// /// # Examples ///