Skip to content

Commit d87e197

Browse files
camelidJoshua Nelson
authored and
Joshua Nelson
committed
Point to HirId instead of NodeId
1 parent ba9259e commit d87e197

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/identifiers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The HIR uses a bunch of different identifiers that coexist and serve different p
2929
- A [`DefId`], as the name suggests, identifies a particular definition, or top-level
3030
item, in a given crate. It is composed of two parts: a [`CrateNum`] which identifies
3131
the crate the definition comes from, and a [`DefIndex`] which identifies the definition
32-
within the crate. Unlike [`NodeId`]s, there isn't a [`DefId`] for every expression, which
32+
within the crate. Unlike [`HirId`]s, there isn't a [`DefId`] for every expression, which
3333
makes them more stable across compilations.
3434

3535
- A [`LocalDefId`] is basically a [`DefId`] that is known to come from the current crate.

0 commit comments

Comments
 (0)