about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorBastian Kauschke <bastian_kauschke@hotmail.de>2020-06-03 19:24:58 +0200
committerBastian Kauschke <bastian_kauschke@hotmail.de>2020-06-03 19:24:58 +0200
commit86f810538947b44776c8b611538cb583e4e756c9 (patch)
tree62076b18c260c7c3ebf08dddbedde870e0e57931 /src
parentff4aff6ce0f216c8cb8d40f432efaacdaca8095b (diff)
downloadrust-86f810538947b44776c8b611538cb583e4e756c9.tar.gz
rust-86f810538947b44776c8b611538cb583e4e756c9.zip
fix `AdtDef` docs
Diffstat (limited to 'src')
-rw-r--r--src/librustc_middle/ty/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_middle/ty/mod.rs b/src/librustc_middle/ty/mod.rs
index a34cff06bc1..00c00a63b6b 100644
--- a/src/librustc_middle/ty/mod.rs
+++ b/src/librustc_middle/ty/mod.rs
@@ -1846,7 +1846,7 @@ pub struct FieldDef {
 
 /// The definition of a user-defined type, e.g., a `struct`, `enum`, or `union`.
 ///
-/// These are all interned (by `intern_adt_def`) into the `adt_defs` table.
+/// These are all interned (by `alloc_adt_def`) into the global arena.
 ///
 /// The initialism *ADT* stands for an [*algebraic data type (ADT)*][adt].
 /// This is slightly wrong because `union`s are not ADTs.