Skip to content

Commit

Permalink
Merge pull request #656 from ncfavier/substituters
Browse files Browse the repository at this point in the history
"substituters", "substituents"
  • Loading branch information
epage authored Jan 25, 2023
2 parents dbd12ef + 40d3de3 commit 8b88f5d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Format: `typo,correction[,correction...]`

2. Code-gen the dictionary

Run
With `cargo` and `rustfmt` installed, run
```console
$ SNAPSHOTS=overwrite cargo test --workspace
```
Expand Down
3 changes: 1 addition & 2 deletions crates/typos-dict/assets/words.csv
Original file line number Diff line number Diff line change
Expand Up @@ -46768,8 +46768,7 @@ substituion,substitution
substituions,substitutions
substiture,substitute
substitures,substitutes
substitutents,substitutes
substituters,substitutes
substitutents,substituents
substitutie,substitutes
substitutivo,substitution
substituto,substitution
Expand Down
4 changes: 1 addition & 3 deletions crates/typos-dict/src/dict_codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22355,7 +22355,6 @@ pub static WORD_SUBSTI_CHILDREN: dictgen::DictTable<&'static [&'static str]> = d
dictgen::InsensitiveStr::Ascii("ture"),
dictgen::InsensitiveStr::Ascii("tures"),
dictgen::InsensitiveStr::Ascii("tutents"),
dictgen::InsensitiveStr::Ascii("tuters"),
dictgen::InsensitiveStr::Ascii("tutie"),
dictgen::InsensitiveStr::Ascii("tutivo"),
dictgen::InsensitiveStr::Ascii("tuto"),
Expand Down Expand Up @@ -22389,8 +22388,7 @@ pub static WORD_SUBSTI_CHILDREN: dictgen::DictTable<&'static [&'static str]> = d
&["substitutions"],
&["substitute"],
&["substitutes"],
&["substitutes"],
&["substitutes"],
&["substituents"],
&["substitutes"],
&["substitution"],
&["substitution"],
Expand Down

0 comments on commit 8b88f5d

Please sign in to comment.