book: Change "Failures" to "Errors" in doc special sections chapter

This matches the usage in the standard library's documentation.
This commit is contained in:
Kamal Marhubi 2016-02-01 12:26:51 -05:00
parent 28bed3f5e6
commit 49fe519791

View 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() {}
```