Apply suggestions from code review
Co-authored-by: Tshepang Mbambo <tshepang@gmail.com>
This commit is contained in:
parent
914b409125
commit
7353fd14ee
|
|
@ -1,7 +1,6 @@
|
|||
# AST Validation
|
||||
|
||||
* [About](#about)
|
||||
* [Validation](#validation)
|
||||
<!-- toc -->
|
||||
|
||||
## About
|
||||
|
||||
|
|
@ -17,9 +16,9 @@ is done, the compiler runs the crate resolution pass.
|
|||
|
||||
## Validations
|
||||
|
||||
Validations are defined in `AstValidator` class, which
|
||||
Validations are defined in `AstValidator` type, which
|
||||
itself is located in `rustc_ast_passes` crate. This
|
||||
class implements various simple checks which emit errors
|
||||
type implements various simple checks which emit errors
|
||||
when certain language rules are broken.
|
||||
|
||||
In addition, `AstValidator` implements `Visitor` trait
|
||||
|
|
|
|||
Loading…
Reference in New Issue