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/libstd/sys | |
| 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/libstd/sys')
| -rw-r--r-- | src/libstd/sys/common/remutex.rs | 4 |
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 |
