Skip to content

Commit 34c9d3f

Browse files
nikicmark-i-m
authored andcommitted
Update TypeVariants to TyKind
This has been renamed in rust-lang/rust#53581.
1 parent 4196710 commit 34c9d3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ty.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ fn test_type<'tcx>(ty: Ty<'tcx>) {
9999
```
100100

101101
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
102+
structural type?) is of type `TyKind<'tcx>`, which is an enum
103103
defining all of the different kinds of types in the compiler.
104104

105105
> N.B. inspecting the `sty` field on types during type inference can be

0 commit comments

Comments
 (0)