Skip to content

Commit 86f8105

Browse files
committed
fix AdtDef docs
1 parent ff4aff6 commit 86f8105

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_middle/ty/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1846,7 +1846,7 @@ pub struct FieldDef {
18461846

18471847
/// The definition of a user-defined type, e.g., a `struct`, `enum`, or `union`.
18481848
///
1849-
/// These are all interned (by `intern_adt_def`) into the `adt_defs` table.
1849+
/// These are all interned (by `alloc_adt_def`) into the global arena.
18501850
///
18511851
/// The initialism *ADT* stands for an [*algebraic data type (ADT)*][adt].
18521852
/// This is slightly wrong because `union`s are not ADTs.

0 commit comments

Comments
 (0)