From 5ecd75a393407638e3a239c4c212acbdf15a2dc4 Mon Sep 17 00:00:00 2001 From: Tshepang Mbambo Date: Tue, 17 Jan 2023 17:00:54 +0200 Subject: [PATCH] fix review suggestion --- src/type-checking.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/type-checking.md b/src/type-checking.md index 2f8e8faf..b6069420 100644 --- a/src/type-checking.md +++ b/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