diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-06-03 07:47:18 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-06-03 07:47:18 +0100 |
commit | 68f26dc1bbdbe4f403e24a677c5b50fbe43292a9 (patch) | |
tree | 3d724f2433fc3e5907a6b1af889d32a747e401aa /crates | |
parent | 1bbbeb886da16fc0d1c576a9ee306b7fb347f6b4 (diff) | |
parent | 8101ea0fdc9d2be2d3926b22af8167f7155ff0c7 (diff) |
Merge #4679
4679: Update a comment for the new source organization r=matklad a=nelhage
Co-authored-by: Nelson Elhage <[email protected]>
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_parser/src/grammar.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/crates/ra_parser/src/grammar.rs b/crates/ra_parser/src/grammar.rs index be0cd5661..293baecf6 100644 --- a/crates/ra_parser/src/grammar.rs +++ b/crates/ra_parser/src/grammar.rs | |||
@@ -18,9 +18,10 @@ | |||
18 | //! // fn foo() {} | 18 | //! // fn foo() {} |
19 | //! ``` | 19 | //! ``` |
20 | //! | 20 | //! |
21 | //! After adding a new inline-test, run `cargo collect-tests` to extract | 21 | //! After adding a new inline-test, run `cargo xtask codegen` to |
22 | //! it as a standalone text-fixture into `tests/data/parser/inline`, and | 22 | //! extract it as a standalone text-fixture into |
23 | //! run `cargo test` once to create the "gold" value. | 23 | //! `crates/ra_syntax/test_data/parser/`, and run `cargo test` once to |
24 | //! create the "gold" value. | ||
24 | //! | 25 | //! |
25 | //! Coding convention: rules like `where_clause` always produce either a | 26 | //! Coding convention: rules like `where_clause` always produce either a |
26 | //! node or an error, rules like `opt_where_clause` may produce nothing. | 27 | //! node or an error, rules like `opt_where_clause` may produce nothing. |