diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-06-04 12:12:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-04 12:12:49 +0200 |
| commit | 8fe23a772637aa6e7fdb0a052ee099bef8765193 (patch) | |
| tree | 3f578bde919fafd47a3a1a0cfb22fed3020aa0fe | |
| parent | 085c16d5529727d3f4068457fd583d9fb17a186d (diff) | |
| parent | 86f810538947b44776c8b611538cb583e4e756c9 (diff) | |
| download | rust-8fe23a772637aa6e7fdb0a052ee099bef8765193.tar.gz rust-8fe23a772637aa6e7fdb0a052ee099bef8765193.zip | |
Rollup merge of #72950 - lcnr:fix_doc, r=davidtwco
fix `AdtDef` docs
| -rw-r--r-- | src/librustc_middle/ty/mod.rs | 2 |
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. |
