]> git.lizzy.rs Git - rust.git/commitdiff
book: Change "Failures" to "Errors" in doc special sections chapter
authorKamal Marhubi <kamal@marhubi.com>
Mon, 1 Feb 2016 17:26:51 +0000 (12:26 -0500)
committerKamal Marhubi <kamal@marhubi.com>
Mon, 1 Feb 2016 17:26:51 +0000 (12:26 -0500)
This matches the usage in the standard library's documentation.

src/doc/book/documentation.md

index 4053e5776e39f89982e5e2cacde47d52adb3245f..ede3100194e5bd308e9f2a47c2373bd3519ced57 100644 (file)
@@ -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() {}
 ```