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:
parent
28bed3f5e6
commit
49fe519791
1 changed files with 1 additions and 1 deletions
|
|
@ -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() {}
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue