diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2016-02-02 00:32:19 -0500 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2016-02-02 00:32:19 -0500 |
| commit | 5f0d8ea1bdf631835b03ebb4a9f0e2ffe2711b19 (patch) | |
| tree | 5a946aafae5ff6ff2616826174f4cacc298a514b /src/libcore | |
| parent | 9eb417b17fce7c6dbb6141723f369966eaba7009 (diff) | |
| parent | 129a6239d28aeaea87a9d27191e50b55e6b8923a (diff) | |
| download | rust-5f0d8ea1bdf631835b03ebb4a9f0e2ffe2711b19.tar.gz rust-5f0d8ea1bdf631835b03ebb4a9f0e2ffe2711b19.zip | |
Rollup merge of #31345 - kamalmarhubi:book-docs-special-section-errors, r=steveklabnik
This matches the usage in the standard library's documentation.
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/str/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/str/mod.rs b/src/libcore/str/mod.rs index 3892455395f..f19970546d7 100644 --- a/src/libcore/str/mod.rs +++ b/src/libcore/str/mod.rs @@ -188,7 +188,7 @@ impl Utf8Error { /// it, this function is one way to have a stack-allocated string. There is /// an example of this in the examples section below. /// -/// # Failure +/// # Errors /// /// Returns `Err` if the slice is not UTF-8 with a description as to why the /// provided slice is not UTF-8. |
