about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorAlexey Shmalko <rasen.dubi@gmail.com>2019-04-18 16:51:47 +0300
committerWho? Me?! <mark-i-m@users.noreply.github.com>2019-04-20 09:57:54 -0500
commit2995bd63bbc8e03746ca5f8985b9763e27ea92c1 (patch)
treee9a3454935bf6834c544a8df6dec0c96f0966195 /src/doc/rustc-dev-guide
parent43ac079bd120b1adc378f7f0e4dce62784ff736f (diff)
downloadrust-2995bd63bbc8e03746ca5f8985b9763e27ea92c1.tar.gz
rust-2995bd63bbc8e03746ca5f8985b9763e27ea92c1.zip
Update BodyId description
It is now a newtype'd HirId, not NodeId.

See https://github.com/rust-lang/rust/pull/58167.
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/hir.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/src/hir.md b/src/doc/rustc-dev-guide/src/hir.md
index 34e478ee4d0..b1004227011 100644
--- a/src/doc/rustc-dev-guide/src/hir.md
+++ b/src/doc/rustc-dev-guide/src/hir.md
@@ -87,9 +87,9 @@ sorts of identifiers in active use:
   offset within that item.
   - the key point of a [`HirId`] is that it is *relative* to some item
     (which is named via a [`DefId`]).
-- [`BodyId`], this is an absolute identifier that refers to a specific
+- [`BodyId`], this is an identifier that refers to a specific
   body (definition of a function or constant) in the crate. It is currently
-  effectively a "newtype'd" [`NodeId`].
+  effectively a "newtype'd" [`HirId`].
 - [`NodeId`], which is an absolute id that identifies a single node in the HIR
   tree.
   - While these are still in common use, **they are being slowly phased out**.