about summary refs log tree commit diff
path: root/src/libstd/sys
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/libstd/sys
parent49fe5197916ed8065e6d6ff267826546d631be86 (diff)
downloadrust-129a6239d28aeaea87a9d27191e50b55e6b8923a.tar.gz
rust-129a6239d28aeaea87a9d27191e50b55e6b8923a.zip
docs: Standardize on 'Errors' header in std docs
Diffstat (limited to 'src/libstd/sys')
-rw-r--r--src/libstd/sys/common/remutex.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/sys/common/remutex.rs b/src/libstd/sys/common/remutex.rs
index 31caa68c4b7..2e2be63c3cb 100644
--- a/src/libstd/sys/common/remutex.rs
+++ b/src/libstd/sys/common/remutex.rs
@@ -78,7 +78,7 @@ impl<T> ReentrantMutex<T> {
     /// calling this method already holds the lock, the call shall succeed without
     /// blocking.
     ///
-    /// # Failure
+    /// # Errors
     ///
     /// If another user of this mutex panicked while holding the mutex, then
     /// this call will return failure if the mutex would otherwise be
@@ -95,7 +95,7 @@ impl<T> ReentrantMutex<T> {
     ///
     /// This function does not block.
     ///
-    /// # Failure
+    /// # Errors
     ///
     /// If another user of this mutex panicked while holding the mutex, then
     /// this call will return failure if the mutex would otherwise be