diff options
author | Daniel McNab <[email protected]> | 2018-10-04 21:43:58 +0100 |
---|---|---|
committer | Daniel McNab <[email protected]> | 2018-10-04 21:43:58 +0100 |
commit | 80eefcbc0517d24dafa8f349f2c0f20d396a6c4d (patch) | |
tree | 29da7bc1734c0183fd48354ca7449a3133a74dfd /crates/ra_syntax/src/syntax_kinds | |
parent | 81bf190f7aca4cadec5394c397bd7c084b53b9f5 (diff) |
Add `cargo gen-kinds` documentation
Diffstat (limited to 'crates/ra_syntax/src/syntax_kinds')
-rw-r--r-- | crates/ra_syntax/src/syntax_kinds/generated.rs | 3 | ||||
-rw-r--r-- | crates/ra_syntax/src/syntax_kinds/generated.rs.tera | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/crates/ra_syntax/src/syntax_kinds/generated.rs b/crates/ra_syntax/src/syntax_kinds/generated.rs index 7882bded9..11e9150bb 100644 --- a/crates/ra_syntax/src/syntax_kinds/generated.rs +++ b/crates/ra_syntax/src/syntax_kinds/generated.rs | |||
@@ -1,3 +1,6 @@ | |||
1 | // This file is automatically generated based on the file `./generated.rs.tera` when `cargo gen-kinds` is run | ||
2 | // Do not edit manually | ||
3 | |||
1 | #![allow(bad_style, missing_docs, unreachable_pub)] | 4 | #![allow(bad_style, missing_docs, unreachable_pub)] |
2 | #![cfg_attr(rustfmt, rustfmt_skip)] | 5 | #![cfg_attr(rustfmt, rustfmt_skip)] |
3 | use super::SyntaxInfo; | 6 | use super::SyntaxInfo; |
diff --git a/crates/ra_syntax/src/syntax_kinds/generated.rs.tera b/crates/ra_syntax/src/syntax_kinds/generated.rs.tera index 90618721a..018564b8a 100644 --- a/crates/ra_syntax/src/syntax_kinds/generated.rs.tera +++ b/crates/ra_syntax/src/syntax_kinds/generated.rs.tera | |||
@@ -1,3 +1,8 @@ | |||
1 | {# THIS File is not automatically generated: | ||
2 | the below applies to the result of this template | ||
3 | #}// This file is automatically generated based on the file `./generated.rs.tera` when `cargo gen-kinds` is run | ||
4 | // Do not edit manually | ||
5 | |||
1 | #![allow(bad_style, missing_docs, unreachable_pub)] | 6 | #![allow(bad_style, missing_docs, unreachable_pub)] |
2 | #![cfg_attr(rustfmt, rustfmt_skip)] | 7 | #![cfg_attr(rustfmt, rustfmt_skip)] |
3 | use super::SyntaxInfo; | 8 | use super::SyntaxInfo; |