Skip to content

Commit b381e52

Browse files
authored
Rollup merge of #60752 - shiatsumat:minor-typos-hir, r=wesleywiser
Fix minor typos for ItemLocalId * added comma after 'that is' * "can be implement" -> "can be implemented"
2 parents c0aeaa1 + 0fc2cfb commit b381e52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc/hir/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,12 @@ mod item_local_id_inner {
126126
use rustc_macros::HashStable;
127127
newtype_index! {
128128
/// An `ItemLocalId` uniquely identifies something within a given "item-like",
129-
/// that is within a hir::Item, hir::TraitItem, or hir::ImplItem. There is no
129+
/// that is, within a hir::Item, hir::TraitItem, or hir::ImplItem. There is no
130130
/// guarantee that the numerical value of a given `ItemLocalId` corresponds to
131131
/// the node's position within the owning item in any way, but there is a
132132
/// guarantee that the `LocalItemId`s within an owner occupy a dense range of
133133
/// integers starting at zero, so a mapping that maps all or most nodes within
134-
/// an "item-like" to something else can be implement by a `Vec` instead of a
134+
/// an "item-like" to something else can be implemented by a `Vec` instead of a
135135
/// tree or hash map.
136136
pub struct ItemLocalId {
137137
derive [HashStable]

0 commit comments

Comments
 (0)