(&self, mut f: F)
| 724 | } |
| 725 | |
| 726 | pub fn for_each<F: FnMut(&K, &V)>(&self, mut f: F) { |
| 727 | for ht in &self.hash_table_list { |
| 728 | let ht = ht.lock().unwrap(); |
| 729 | ht.iter().for_each(|(k, v)| f(k, v)); |
| 730 | } |
| 731 | } |
| 732 | } |
| 733 | |
| 734 | #[cfg(test)] |
no test coverage detected