Rollup merge of #72950 - lcnr:fix_doc, r=davidtwco

fix `AdtDef` docs
This commit is contained in:
Dylan DPC 2020-06-04 12:12:49 +02:00 committed by GitHub
commit 8fe23a7726
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.