]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/sync/condvar.rs
docs: Standardize on 'Errors' header in std docs
[rust.git] / src / libstd / sync / condvar.rs
index 1f7fe820bf86a37c7edd5dbdd240afabce4df954..9a786752365f1d4c890f909bae85b5d56d80a876 100644 (file)
@@ -129,7 +129,7 @@ pub fn new() -> Condvar {
     /// the predicate must always be checked each time this function returns to
     /// protect against spurious wakeups.
     ///
-    /// # Failure
+    /// # Errors
     ///
     /// This function will return an error if the mutex being waited on is
     /// poisoned when this thread re-acquires the lock. For more information,