Make all wait_map members public

parent bfc559a8
......@@ -6,8 +6,8 @@ use crate::sync::WaitCondition;
#[derive(Debug)]
pub struct WaitMap<K, V> {
inner: Mutex<BTreeMap<K, V>>,
condition: WaitCondition
pub inner: Mutex<BTreeMap<K, V>>,
pub condition: WaitCondition
}
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