ty.md: fix a typo

This commit is contained in:
homersimpsons 2019-11-19 23:28:35 +01:00 committed by Who? Me?!
parent fe8585a9b6
commit 3981656d44
1 changed files with 2 additions and 2 deletions

View File

@ -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
> risky, as there may be inference variables and other things to
> consider, or sometimes types are not yet known that will become
> known later.).
> consider, or sometimes types are not yet known and will become
> known later.
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