mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:23:49 +00:00
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
@ -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…
Reference in New Issue
Block a user