Skip to content

Instantly share code, notes, and snippets.

@LLBlumire
Created March 25, 2017 16:17
Show Gist options
  • Save LLBlumire/ce64c29c60d78a12853561ee56596dd3 to your computer and use it in GitHub Desktop.
Save LLBlumire/ce64c29c60d78a12853561ee56596dd3 to your computer and use it in GitHub Desktop.
impl<'a, K, V> IntoParallelIterator for &'a mut BTreeMap<K, V> where &'a mut BTreeMap<K, V>: IntoIterator, &'a mut BTreeMap<K, V>::Item: Send
---------------------------
the method `par_iter_mut` exists but the following trait bounds were not satisfied: `&mut std::collections::BTreeMap<I, (std::sync::Arc<std::sync::Mutex<Controller + std::marker::Send + 'static>>, std::collections::BTreeMap<I, std::sync::Weak<std::sync::Mutex<Entity + std::marker::Send + 'static>>>)> : rayon::par_iter::IntoParallelIterator`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment