summary refs log tree commit diff
path: root/src/libtest
diff options
context:
space:
mode:
authorBarosl Lee <vcs@barosl.com>2014-11-12 03:36:09 +0900
committerBarosl Lee <vcs@barosl.com>2014-11-12 03:36:09 +0900
commit8bf77fa786aae4993fa923f0826529bfb9ce1166 (patch)
treea7ac9d644b4e116aa78ac337c749f73ebdcdadf3 /src/libtest
parent5d29209bda553e4d23a8b499d2ceb8db5c4f8be5 (diff)
downloadrust-8bf77fa786aae4993fa923f0826529bfb9ce1166.tar.gz
rust-8bf77fa786aae4993fa923f0826529bfb9ce1166.zip
Fix remaining documentation to reflect fail!() -> panic!()
Throughout the docs, "failure" was replaced with "panics" if it means a
task panic. Otherwise, it remained as is, or changed to "errors" to
clearly differentiate it from a task panic.
Diffstat (limited to 'src/libtest')
-rw-r--r--src/libtest/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libtest/lib.rs b/src/libtest/lib.rs
index 4d6aefb2a17..7ae3d3dbf04 100644
--- a/src/libtest/lib.rs
+++ b/src/libtest/lib.rs
@@ -1168,7 +1168,7 @@ impl MetricMap {
 
     /// Load MetricDiff from a file.
     ///
-    /// # Failure
+    /// # Panics
     ///
     /// This function will panic if the path does not exist or the path does not
     /// contain a valid metric map.