about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/ty.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/ty.md b/src/doc/rustc-dev-guide/src/ty.md
index 44017dd5b5f..fea9afbeb05 100644
--- a/src/doc/rustc-dev-guide/src/ty.md
+++ b/src/doc/rustc-dev-guide/src/ty.md
@@ -99,7 +99,7 @@ fn test_type<'tcx>(ty: Ty<'tcx>) {
 ```
 
 The `sty` field (the origin of this name is unclear to me; perhaps
-structural type?) is of type `TypeVariants<'tcx>`, which is an enum
+structural type?) is of type `TyKind<'tcx>`, which is an enum
 defining all of the different kinds of types in the compiler.
 
 > N.B. inspecting the `sty` field on types during type inference can be