summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-04-20 18:43:34 +0000
committerbors <bors@rust-lang.org>2015-04-20 18:43:34 +0000
commitf46c4e158d395cf6e186bf6afdf1705c12071cbe (patch)
treed93d2ed7556dafcf597ac167ae304fb74d6e6a21 /src/libcore
parente959fab4a520ed9c08f8eec0340457fa4b1597f2 (diff)
parentc3c761058cf7e41b0b7a6cf3636ff105db011f9d (diff)
downloadrust-f46c4e158d395cf6e186bf6afdf1705c12071cbe.tar.gz
rust-f46c4e158d395cf6e186bf6afdf1705c12071cbe.zip
Auto merge of #24606 - bombless:doc-result, r=alexcrichton
Get rid of the confusion that what does "custom" mean in this context.
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/result.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/result.rs b/src/libcore/result.rs
index 26bc653b26f..03894926293 100644
--- a/src/libcore/result.rs
+++ b/src/libcore/result.rs
@@ -727,8 +727,8 @@ impl<T, E: fmt::Debug> Result<T, E> {
     ///
     /// # 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
     ///