about summary refs log tree commit diff
diff options
context:
space:
mode:
authorKamal Marhubi <kamal@marhubi.com>2016-02-01 12:26:51 -0500
committerKamal Marhubi <kamal@marhubi.com>2016-02-01 12:26:51 -0500
commit49fe5197916ed8065e6d6ff267826546d631be86 (patch)
tree8e810bdd97e7a7bd784f8d9d6468ef82e2bd482c
parent28bed3f5e64dfc083dc193412b65d95533a61d72 (diff)
downloadrust-49fe5197916ed8065e6d6ff267826546d631be86.tar.gz
rust-49fe5197916ed8065e6d6ff267826546d631be86.zip
book: Change "Failures" to "Errors" in doc special sections chapter
This matches the usage in the standard library's documentation.
-rw-r--r--src/doc/book/documentation.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/book/documentation.md b/src/doc/book/documentation.md
index 4053e5776e3..ede3100194e 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() {}
 ```