File tree 1 file changed +2
-2
lines changed
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! {
148
148
/// that is, within a `hir::Item`, `hir::TraitItem`, or `hir::ImplItem`. There is no
149
149
/// guarantee that the numerical value of a given `ItemLocalId` corresponds to
150
150
/// 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
152
152
/// integers starting at zero, so a mapping that maps all or most nodes within
153
153
/// an "item-like" to something else can be implemented by a `Vec` instead of a
154
154
/// tree or hash map.
@@ -161,7 +161,7 @@ impl ItemLocalId {
161
161
pub const INVALID : ItemLocalId = ItemLocalId :: MAX ;
162
162
}
163
163
164
- // Safety: Ord is implement as just comparing the LocalItemId 's numerical
164
+ // Safety: Ord is implement as just comparing the ItemLocalId 's numerical
165
165
// values and these are not changed by (de-)serialization.
166
166
unsafe impl StableOrd for ItemLocalId { }
167
167
You can’t perform that action at this time.
0 commit comments