From ed730c2fa198de442778a357e39a556876a7d67a Mon Sep 17 00:00:00 2001 From: Stephan Dilly Date: Sat, 18 Jul 2020 11:59:30 +0200 Subject: [PATCH] comment --- src/notify_mutex.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)>,