From 49fe5197916ed8065e6d6ff267826546d631be86 Mon Sep 17 00:00:00 2001 From: Kamal Marhubi Date: Mon, 1 Feb 2016 12:26:51 -0500 Subject: [PATCH] book: Change "Failures" to "Errors" in doc special sections chapter This matches the usage in the standard library's documentation. --- src/doc/book/documentation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/book/documentation.md b/src/doc/book/documentation.md index 4053e5776e39..ede3100194e5 100644 --- a/src/doc/book/documentation.md +++ b/src/doc/book/documentation.md @@ -118,7 +118,7 @@ least. If your function has a non-trivial contract like this, that is detected/enforced by panics, documenting it is very important. ```rust -/// # Failures +/// # Errors # fn foo() {} ```