Skip to content

Commit 49fe519

Browse files
committed
book: Change "Failures" to "Errors" in doc special sections chapter
This matches the usage in the standard library's documentation.
1 parent 28bed3f commit 49fe519

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/book/documentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ least. If your function has a non-trivial contract like this, that is
118118
detected/enforced by panics, documenting it is very important.
119119

120120
```rust
121-
/// # Failures
121+
/// # Errors
122122
# fn foo() {}
123123
```
124124

0 commit comments

Comments
 (0)