about summary refs log tree commit diff
path: root/src/libcore/result.rs
diff options
context:
space:
mode:
authorLetheed <dev@daweb.se>2015-12-10 14:20:32 +0100
committerLetheed <dev@daweb.se>2015-12-10 14:20:32 +0100
commitaf4414bd30b75202fd93c369dc5eac372e07b203 (patch)
tree2246a52a31c108343dd08f296175895594e22a50 /src/libcore/result.rs
parent8eee0efd1f3f43e379abf7dfcb190bd60700eeca (diff)
fix missing Panics tag and missing period
Diffstat (limited to 'src/libcore/result.rs')
-rw-r--r--src/libcore/result.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcore/result.rs b/src/libcore/result.rs
index 37c40f96b0f..9fe3c2d2aa2 100644
--- a/src/libcore/result.rs
+++ b/src/libcore/result.rs
@@ -744,6 +744,8 @@ impl<T, E: fmt::Debug> Result<T, E> {
 
     /// Unwraps a result, yielding the content of an `Ok`.
     ///
+    /// # Panics
+    ///
     /// Panics if the value is an `Err`, with a panic message including the
     /// passed message, and the content of the `Err`.
     ///