File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -175,10 +175,10 @@ There are a lot of related types, and we’ll cover them in time (e.g regions/li
175
175
There are a bunch of variants on the ` TyKind ` enum, which you can see by looking at the rustdocs.
176
176
Here is a sampling:
177
177
178
- [ ** Algebraic Data Types (ADTs)** ] ( ) An [ * algebraic Data Type* ] [ wikiadt ] is a ` struct ` , ` enum ` or
179
- ` union ` . Under the hood, ` struct ` , ` enum ` and ` union ` are actually implemented the same way: they
180
- are all [ ` ty::TyKind::Adt ` ] [ kindadt ] . It’s basically a user defined type. We will talk more about
181
- these later.
178
+ [ ** Algebraic Data Types (ADTs)** ] [ kindadt ] An [ * algebraic Data Type* ] [ wikiadt ] is a ` struct ` ,
179
+ ` enum ` or ` union ` . Under the hood, ` struct ` , ` enum ` and ` union ` are actually implemented
180
+ the same way: they are all [ ` ty::TyKind::Adt ` ] [ kindadt ] . It’s basically a user defined type.
181
+ We will talk more about these later.
182
182
183
183
[ ** Foreign** ] [ kindforeign ] Corresponds to ` extern type T ` .
184
184
You can’t perform that action at this time.
0 commit comments