about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2018-10-26 14:34:09 +0200
committerWho? Me?! <mark-i-m@users.noreply.github.com>2018-10-26 11:05:19 -0500
commit9e4ed397f23c304aaf6a0b93fb39ffcdeff708f8 (patch)
treefb53f15fd912ff76691cfbf5e7ac08e61b8a7705 /src/doc/rustc-dev-guide
parent57924519020ccd8a7acf299937d110308bee9485 (diff)
downloadrust-9e4ed397f23c304aaf6a0b93fb39ffcdeff708f8.tar.gz
rust-9e4ed397f23c304aaf6a0b93fb39ffcdeff708f8.zip
Update TypeVariants to TyKind
This has been renamed in https://github.com/rust-lang/rust/pull/53581.
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