diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2024-12-06 19:43:01 +0000 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2024-12-09 21:55:13 +0000 |
| commit | 148a77dfde03dba553b2e4f3cf817cd6d105b3e6 (patch) | |
| tree | 016057d45826592ba0cfefbb119ec8f50183f1ae /compiler/rustc_middle/src | |
| parent | e0752ad2572218dfc7764951b72d4e3e84ea842c (diff) | |
| download | rust-148a77dfde03dba553b2e4f3cf817cd6d105b3e6.tar.gz rust-148a77dfde03dba553b2e4f3cf817cd6d105b3e6.zip | |
review comments: rewordings
Diffstat (limited to 'compiler/rustc_middle/src')
| -rw-r--r-- | compiler/rustc_middle/src/ty/adt.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_middle/src/ty/adt.rs b/compiler/rustc_middle/src/ty/adt.rs index 9678863ee4d..447cbc8932e 100644 --- a/compiler/rustc_middle/src/ty/adt.rs +++ b/compiler/rustc_middle/src/ty/adt.rs @@ -259,10 +259,10 @@ impl Into<DataTypeKind> for AdtKind { } } -impl<'tcx> AdtDefData { +impl AdtDefData { /// Creates a new `AdtDefData`. pub(super) fn new( - tcx: TyCtxt<'tcx>, + tcx: TyCtxt<'_>, did: DefId, kind: AdtKind, variants: IndexVec<VariantIdx, VariantDef>, |
