about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorCamelid <camelidcamel@gmail.com>2021-01-09 17:10:18 -0800
committerJoshua Nelson <joshua@yottadb.com>2021-01-09 21:05:10 -0500
commit84c3c96d59eeeb1ceeccc31fdc36f8524b511b0d (patch)
treeddd74fb9b8e21b42fc7ffe35529546f1c0dded40 /src/doc/rustc-dev-guide
parent012d6da4893f9d331d58b14857afa5fc673deeed (diff)
downloadrust-84c3c96d59eeeb1ceeccc31fdc36f8524b511b0d.tar.gz
rust-84c3c96d59eeeb1ceeccc31fdc36f8524b511b0d.zip
Point to `HirId` instead of `NodeId`
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/identifiers.md2
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 d04509b683f..37e6a1c9299 100644
--- a/src/doc/rustc-dev-guide/src/identifiers.md
+++ b/src/doc/rustc-dev-guide/src/identifiers.md
@@ -29,7 +29,7 @@ The HIR uses a bunch of different identifiers that coexist and serve different p
 - A [`DefId`], as the name suggests, identifies a particular definition, or top-level
   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
+  within the crate. Unlike [`HirId`]s, there isn't a [`DefId`] for every expression, which
   makes them more stable across compilations.
 
 - A [`LocalDefId`] is basically a [`DefId`] that is known to come from the current crate.