Skip to content

Commit a31632b

Browse files
committed
rename to par_for_each_item
1 parent a349fc4 commit a31632b

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_middle/src/hir/map

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/hir/map/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ impl<'hir> Map<'hir> {
162162
self.tcx.hir_crate_items(()).items.iter().copied()
163163
}
164164

165-
pub fn par_items(self, f: impl Fn(ItemId) + Sync + Send) {
165+
pub fn par_for_each_item(self, f: impl Fn(ItemId) + Sync + Send) {
166166
par_for_each_in(&self.tcx.hir_crate_items(()).items[..], |id| f(*id));
167167
}
168168

0 commit comments

Comments
 (0)