about summary refs log tree commit diff
path: root/src/libstd/sys
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-02-02 07:28:04 +0000
committerbors <bors@rust-lang.org>2016-02-02 07:28:04 +0000
commit01d44ca74fa63e078d7b8c2e5f221df06d72fb46 (patch)
tree74dcc155ed99bbc82d5be3ef7b63ef6ac28a32e4 /src/libstd/sys
parent508c21e4aeaa950553ac823f064a525c24ea85fd (diff)
parentc3f6122215fe5576ddca544b9c22f8aa34312eb5 (diff)
downloadrust-01d44ca74fa63e078d7b8c2e5f221df06d72fb46.tar.gz
rust-01d44ca74fa63e078d7b8c2e5f221df06d72fb46.zip
Auto merge of #31359 - steveklabnik:rollup, r=steveklabnik
- Successful merges: #30971, #31202, #31247, #31270, #31281, #31327, #31339, #31340, #31342, #31344, #31345, #31346, #31348
- Failed merges:
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