ty.md: fix a typo
This commit is contained in:
parent
63156423fd
commit
9b51b785cb
|
|
@ -60,8 +60,8 @@ defining all of the different kinds of types in the compiler.
|
||||||
|
|
||||||
> N.B. inspecting the `sty` field on types during type inference can be
|
> N.B. inspecting the `sty` field on types during type inference can be
|
||||||
> risky, as there may be inference variables and other things to
|
> risky, as there may be inference variables and other things to
|
||||||
> consider, or sometimes types are not yet known that will become
|
> consider, or sometimes types are not yet known and will become
|
||||||
> known later.).
|
> known later.
|
||||||
|
|
||||||
To allocate a new type, you can use the various `mk_` methods defined
|
To allocate a new type, you can use the various `mk_` methods defined
|
||||||
on the `tcx`. These have names that correspond mostly to the various kinds
|
on the `tcx`. These have names that correspond mostly to the various kinds
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue