From 8bf77fa786aae4993fa923f0826529bfb9ce1166 Mon Sep 17 00:00:00 2001 From: Barosl Lee Date: Wed, 12 Nov 2014 03:36:09 +0900 Subject: 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. --- src/libtest/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libtest') 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. -- cgit 1.4.1-3-g733a5