Move the rest of the features to generated docs

This commit is contained in:
Aleksey Kladov 2020-05-31 11:29:19 +02:00
parent b795a07320
commit 1c6a2eb14a
10 changed files with 358 additions and 240 deletions

View file

@ -50,12 +50,12 @@ impl Feature {
fn is_valid_feature_name(feature: &str) -> bool {
'word: for word in feature.split_whitespace() {
for &short in ["to"].iter() {
for &short in ["to", "and"].iter() {
if word == short {
continue 'word;
}
}
for &short in ["To"].iter() {
for &short in ["To", "And"].iter() {
if word == short {
return false;
}