Skip to content

Commit

Permalink
Update src/ty.md
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Goulet <[email protected]>
  • Loading branch information
chenyukang and compiler-errors authored Aug 20, 2023
1 parent 814f797 commit 9002924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ty.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ HIR is built, some basic type inference and type checking is done. During the ty
figure out what the `ty::Ty` of everything is and we also check if the type of something is
ambiguous. The `ty::Ty` is then used for type checking while making sure everything has the
expected type. The [`astconv` module][astconv] is where the code responsible for converting a
`rustc_hir::Ty` into a `ty::Ty` is located, the main routine used is `ast_ty_to_ty`. This occurs
`rustc_hir::Ty` into a `ty::Ty` is located. The main routine used is `ast_ty_to_ty`. This occurs
during the type-checking phase, but also in other parts of the compiler that want to ask
questions like "what argument types does this function expect?"

Expand Down

0 comments on commit 9002924

Please sign in to comment.