Skip to content

Commit 4a1d549

Browse files
dbeliktshepang
andcommitted
Apply suggestions from code review
Co-authored-by: Tshepang Mbambo <[email protected]>
1 parent 54cfdd7 commit 4a1d549

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/ast-validation.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# AST Validation
22

3-
* [About](#about)
4-
* [Validation](#validation)
3+
<!-- toc -->
54

65
## About
76

@@ -17,9 +16,9 @@ is done, the compiler runs the crate resolution pass.
1716

1817
## Validations
1918

20-
Validations are defined in `AstValidator` class, which
19+
Validations are defined in `AstValidator` type, which
2120
itself is located in `rustc_ast_passes` crate. This
22-
class implements various simple checks which emit errors
21+
type implements various simple checks which emit errors
2322
when certain language rules are broken.
2423

2524
In addition, `AstValidator` implements `Visitor` trait

0 commit comments

Comments
 (0)