about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorKamal Marhubi <kamal@marhubi.com>2016-02-01 21:41:29 -0500
committerKamal Marhubi <kamal@marhubi.com>2016-02-01 21:41:29 -0500
commit129a6239d28aeaea87a9d27191e50b55e6b8923a (patch)
treefddc672c2bc2dbb4ef7a2c3905febae5f8bf4710 /src/libcore
parent49fe5197916ed8065e6d6ff267826546d631be86 (diff)
downloadrust-129a6239d28aeaea87a9d27191e50b55e6b8923a.tar.gz
rust-129a6239d28aeaea87a9d27191e50b55e6b8923a.zip
docs: Standardize on 'Errors' header in std docs
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/str/mod.rs2
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.