rename to par_for_each_item
This commit is contained in:
parent
a349fc4f7a
commit
a31632b30e
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue