File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ rustc_index::newtype_index! {
148148 /// that is, within a `hir::Item`, `hir::TraitItem`, or `hir::ImplItem`. There is no
149149 /// guarantee that the numerical value of a given `ItemLocalId` corresponds to
150150 /// the node's position within the owning item in any way, but there is a
151- /// guarantee that the `LocalItemId `s within an owner occupy a dense range of
151+ /// guarantee that the `ItemLocalId `s within an owner occupy a dense range of
152152 /// integers starting at zero, so a mapping that maps all or most nodes within
153153 /// an "item-like" to something else can be implemented by a `Vec` instead of a
154154 /// tree or hash map.
@@ -161,7 +161,7 @@ impl ItemLocalId {
161161 pub const INVALID : ItemLocalId = ItemLocalId :: MAX ;
162162}
163163
164- // Safety: Ord is implement as just comparing the LocalItemId 's numerical
164+ // Safety: Ord is implement as just comparing the ItemLocalId 's numerical
165165// values and these are not changed by (de-)serialization.
166166unsafe impl StableOrd for ItemLocalId { }
167167
You can’t perform that action at this time.
0 commit comments