summary refs log tree commit diff
path: root/src/libstd/sync/condvar.rs
diff options
context:
space:
mode:
authorathulappadan <a4athulappadan@gmail.com>2016-09-11 17:00:09 +0530
committerathulappadan <a4athulappadan@gmail.com>2016-09-11 17:00:09 +0530
commit49e77dbf25ed6526fb5d37c32e55797fb04522f0 (patch)
treec876b159c4833fe3a5f2c91dadb2194d77bfc057 /src/libstd/sync/condvar.rs
parent1fca1ab0e7be574022b2d229f0a6ad9bd580d1bf (diff)
downloadrust-49e77dbf25ed6526fb5d37c32e55797fb04522f0.tar.gz
rust-49e77dbf25ed6526fb5d37c32e55797fb04522f0.zip
Documentation of what does for each type
Diffstat (limited to 'src/libstd/sync/condvar.rs')
-rw-r--r--src/libstd/sync/condvar.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/sync/condvar.rs b/src/libstd/sync/condvar.rs
index 4c946e613ea..3db8b05b954 100644
--- a/src/libstd/sync/condvar.rs
+++ b/src/libstd/sync/condvar.rs
@@ -241,6 +241,7 @@ impl Condvar {
 
 #[stable(feature = "condvar_default", since = "1.9.0")]
 impl Default for Condvar {
+    /// Creates a `Condvar` which is ready to be waited on and notified.
     fn default() -> Condvar {
         Condvar::new()
     }