From 9b51b785cb2533e13c05a745e15333ee8e978b7e Mon Sep 17 00:00:00 2001 From: homersimpsons Date: Tue, 19 Nov 2019 23:28:35 +0100 Subject: [PATCH] ty.md: fix a typo --- src/ty.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ty.md b/src/ty.md index 6a1cf444..6295a0db 100644 --- a/src/ty.md +++ b/src/ty.md @@ -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