diff options
| author | homersimpsons <guillaume.alabre@gmail.com> | 2019-11-19 23:28:35 +0100 |
|---|---|---|
| committer | Who? Me?! <mark-i-m@users.noreply.github.com> | 2019-11-19 17:57:31 -0600 |
| commit | 8f1c6763d328b7b2b64c077b3216c5d452c7be04 (patch) | |
| tree | 0bb717bf195f5483d70ecf6e8dd9af8999d8ccb1 /src/doc/rustc-dev-guide | |
| parent | 61362746dc0e7a397a3faf672ba226ea93e1eced (diff) | |
| download | rust-8f1c6763d328b7b2b64c077b3216c5d452c7be04.tar.gz rust-8f1c6763d328b7b2b64c077b3216c5d452c7be04.zip | |
ty.md: fix a typo
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/ty.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/src/ty.md b/src/doc/rustc-dev-guide/src/ty.md index 6a1cf44446a..6295a0db1d1 100644 --- a/src/doc/rustc-dev-guide/src/ty.md +++ b/src/doc/rustc-dev-guide/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 |
