Skip to content

Commit ed730c2

Browse files
author
Stephan Dilly
committed
comment
1 parent c759bf7 commit ed730c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/notify_mutex.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use std::sync::{Arc, Condvar, Mutex};
22

3-
///
3+
/// combines a `Mutex` and `Condvar` to allow waiting for a change in the variable protected by the `Mutex`
44
#[derive(Clone, Debug)]
55
pub struct NotifyableMutex<T> {
66
data: Arc<(Mutex<T>, Condvar)>,

0 commit comments

Comments
 (0)