diff options
Diffstat (limited to 'docs/dev')
-rw-r--r-- | docs/dev/architecture.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/dev/architecture.md b/docs/dev/architecture.md index 5ec5352e7..6fd396dee 100644 --- a/docs/dev/architecture.md +++ b/docs/dev/architecture.md | |||
@@ -78,7 +78,7 @@ Rust syntax tree structure and parser. See | |||
78 | Tests for ra_syntax are mostly data-driven: `test_data/parser` contains subdirectories with a bunch of `.rs` | 78 | Tests for ra_syntax are mostly data-driven: `test_data/parser` contains subdirectories with a bunch of `.rs` |
79 | (test vectors) and `.txt` files with corresponding syntax trees. During testing, we check | 79 | (test vectors) and `.txt` files with corresponding syntax trees. During testing, we check |
80 | `.rs` against `.txt`. If the `.txt` file is missing, it is created (this is how you update | 80 | `.rs` against `.txt`. If the `.txt` file is missing, it is created (this is how you update |
81 | tests). Additionally, running `cargo gen-tests` will walk the grammar module and collect | 81 | tests). Additionally, running `cargo xtask codegen` will walk the grammar module and collect |
82 | all `// test test_name` comments into files inside `test_data/parser/inline` directory. | 82 | all `// test test_name` comments into files inside `test_data/parser/inline` directory. |
83 | 83 | ||
84 | See [#93](https://github.com/rust-analyzer/rust-analyzer/pull/93) for an example PR which | 84 | See [#93](https://github.com/rust-analyzer/rust-analyzer/pull/93) for an example PR which |