aboutsummaryrefslogtreecommitdiff
path: root/xtask/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-05-31 10:29:19 +0100
committerAleksey Kladov <[email protected]>2020-05-31 10:29:19 +0100
commit1c6a2eb14a84c3a66972d1a6da429cca1aa8b40a (patch)
treeadc80cc0840911ca3aa86fd03fff6e49d99cc821 /xtask/src
parentb795a07320e13bcbedb6435bcfddb3ecd0ed2bde (diff)
Move the rest of the features to generated docs
Diffstat (limited to 'xtask/src')
-rw-r--r--xtask/src/codegen/gen_feature_docs.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/xtask/src/codegen/gen_feature_docs.rs b/xtask/src/codegen/gen_feature_docs.rs
index 170a3e889..a0c2ffef9 100644
--- a/xtask/src/codegen/gen_feature_docs.rs
+++ b/xtask/src/codegen/gen_feature_docs.rs
@@ -50,12 +50,12 @@ impl Feature {
50 50
51fn is_valid_feature_name(feature: &str) -> bool { 51fn is_valid_feature_name(feature: &str) -> bool {
52 'word: for word in feature.split_whitespace() { 52 'word: for word in feature.split_whitespace() {
53 for &short in ["to"].iter() { 53 for &short in ["to", "and"].iter() {
54 if word == short { 54 if word == short {
55 continue 'word; 55 continue 'word;
56 } 56 }
57 } 57 }
58 for &short in ["To"].iter() { 58 for &short in ["To", "And"].iter() {
59 if word == short { 59 if word == short {
60 return false; 60 return false;
61 } 61 }