diff options
| author | LeSeulArtichaut <leseulartichaut@gmail.com> | 2020-09-12 20:41:12 +0200 |
|---|---|---|
| committer | Who? Me?! <mark-i-m@users.noreply.github.com> | 2020-09-14 17:42:19 -0500 |
| commit | 55aa7e3dd75aac1cf79addca63e4cf0f7b523ceb (patch) | |
| tree | f95800d06d730beb805c553992349d7e38f0b60c /src/doc/rustc-dev-guide | |
| parent | 9688d2dc295a1354ae890fcc738b64f1e265b2e6 (diff) | |
| download | rust-55aa7e3dd75aac1cf79addca63e4cf0f7b523ceb.tar.gz rust-55aa7e3dd75aac1cf79addca63e4cf0f7b523ceb.zip | |
Fix typo
Co-authored-by: Who? Me?! <mark-i-m@users.noreply.github.com>
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/identifiers.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/identifiers.md b/src/doc/rustc-dev-guide/src/identifiers.md index a672c027459..f485132c640 100644 --- a/src/doc/rustc-dev-guide/src/identifiers.md +++ b/src/doc/rustc-dev-guide/src/identifiers.md @@ -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. |
