about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorTshepang Mbambo <tshepang@gmail.com>2023-01-17 17:00:54 +0200
committerTshepang Mbambo <tshepang@gmail.com>2023-01-21 16:12:58 +0200
commitdaa61cb8d435726c43170c80c8f709b6b6c35f68 (patch)
tree75b78612c758d429e302038488621c2f10ec791d /src/doc/rustc-dev-guide
parentb1a550a28e470b10edfbced94f4449486471cadd (diff)
downloadrust-daa61cb8d435726c43170c80c8f709b6b6c35f68.tar.gz
rust-daa61cb8d435726c43170c80c8f709b6b6c35f68.zip
fix review suggestion
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/type-checking.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/type-checking.md b/src/doc/rustc-dev-guide/src/type-checking.md
index 2f8e8fafdbd..b60694201f3 100644
--- a/src/doc/rustc-dev-guide/src/type-checking.md
+++ b/src/doc/rustc-dev-guide/src/type-checking.md
@@ -1,8 +1,12 @@
 # Type checking
 
-The [`hir_analysis`] crate contains the source for "type collection" as well as a bunch of related functionality. Checking the bodies of functions is implemented in the [`hir_typeck`] crate. (It draws heavily on the [type inference] and [trait solving].)
+The [`hir_analysis`] crate contains the source for "type collection" as well
+as a bunch of related functionality.
+Checking the bodies of functions is implemented in the [`hir_typeck`] crate.
+These crates draw heavily on the [type inference] and [trait solving].
 
 [`hir_analysis`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_hir_analysis/index.html
+[`hir_typeck`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_hir_typeck/index.html
 [type inference]: ./type-inference.md
 [trait solving]: ./traits/resolution.md