Commit 76e0ed2e authored by Jeremy Soller's avatar Jeremy Soller

Make all wait_map members public

parent bfc559a8
...@@ -6,8 +6,8 @@ use crate::sync::WaitCondition; ...@@ -6,8 +6,8 @@ use crate::sync::WaitCondition;
#[derive(Debug)] #[derive(Debug)]
pub struct WaitMap<K, V> { pub struct WaitMap<K, V> {
inner: Mutex<BTreeMap<K, V>>, pub inner: Mutex<BTreeMap<K, V>>,
condition: WaitCondition pub condition: WaitCondition
} }
impl<K, V> WaitMap<K, V> where K: Clone + Ord { impl<K, V> WaitMap<K, V> where K: Clone + Ord {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment