Skip to content

Commit 8fe23a7

Browse files
authored
Rollup merge of #72950 - lcnr:fix_doc, r=davidtwco
fix `AdtDef` docs
2 parents 085c16d + 86f8105 commit 8fe23a7

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)