Co-authored-by: Who? Me?! <mark-i-m@users.noreply.github.com>
This commit is contained in:
LeSeulArtichaut 2020-09-12 20:41:12 +02:00 committed by Who? Me?!
parent e6a94b2355
commit 0d2b8eb1c4
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ like macro expansion and name resolution.
The HIR uses a bunch of different identifiers that coexist and serve different purposes.
- A [`DefId`], as the name suggests, identifies a particular definition, or top-level
item, in a given grate. It is composed of two parts: a [`CrateNum`] which identifies
item, in a given crate. It is composed of two parts: a [`CrateNum`] which identifies
the crate the definition comes from, and a [`DefIndex`] which identifies the definition
within the crate. Unlike [`NodeId`]s, there isn't a [`DefId`] for every expression, which
makes them more stable across compilations.