Skip to content

Commit

Permalink
fix review suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
tshepang committed Jan 21, 2023
1 parent 757ad6d commit 5ecd75a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/type-checking.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 5ecd75a

Please sign in to comment.