We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4196710 commit 34c9d3fCopy full SHA for 34c9d3f
src/ty.md
@@ -99,7 +99,7 @@ fn test_type<'tcx>(ty: Ty<'tcx>) {
99
```
100
101
The `sty` field (the origin of this name is unclear to me; perhaps
102
-structural type?) is of type `TypeVariants<'tcx>`, which is an enum
+structural type?) is of type `TyKind<'tcx>`, which is an enum
103
defining all of the different kinds of types in the compiler.
104
105
> N.B. inspecting the `sty` field on types during type inference can be
0 commit comments