rename to par_for_each_item

This commit is contained in:
Miguel Guarniz 2022-04-09 15:55:06 -04:00
parent a349fc4f7a
commit a31632b30e

View File

@ -162,7 +162,7 @@ impl<'hir> Map<'hir> {
self.tcx.hir_crate_items(()).items.iter().copied()
}
pub fn par_items(self, f: impl Fn(ItemId) + Sync + Send) {
pub fn par_for_each_item(self, f: impl Fn(ItemId) + Sync + Send) {
par_for_each_in(&self.tcx.hir_crate_items(()).items[..], |id| f(*id));
}