diff --git a/src/notify_mutex.rs b/src/notify_mutex.rs index beff0daa..aacf6035 100644 --- a/src/notify_mutex.rs +++ b/src/notify_mutex.rs @@ -1,6 +1,6 @@ use std::sync::{Arc, Condvar, Mutex}; -/// +/// combines a `Mutex` and `Condvar` to allow waiting for a change in the variable protected by the `Mutex` #[derive(Clone, Debug)] pub struct NotifyableMutex { data: Arc<(Mutex, Condvar)>,