diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 27fc921..5ae7e8f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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 ``` diff --git a/crates/typos-dict/assets/words.csv b/crates/typos-dict/assets/words.csv index e04b290..ed512c1 100644 --- a/crates/typos-dict/assets/words.csv +++ b/crates/typos-dict/assets/words.csv @@ -46768,8 +46768,7 @@ substituion,substitution substituions,substitutions substiture,substitute substitures,substitutes -substitutents,substitutes -substituters,substitutes +substitutents,substituents substitutie,substitutes substitutivo,substitution substituto,substitution diff --git a/crates/typos-dict/src/dict_codegen.rs b/crates/typos-dict/src/dict_codegen.rs index d5ce711..dff584a 100644 --- a/crates/typos-dict/src/dict_codegen.rs +++ b/crates/typos-dict/src/dict_codegen.rs @@ -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"), @@ -22389,8 +22388,7 @@ pub static WORD_SUBSTI_CHILDREN: dictgen::DictTable<&'static [&'static str]> = d &["substitutions"], &["substitute"], &["substitutes"], - &["substitutes"], - &["substitutes"], + &["substituents"], &["substitutes"], &["substitution"], &["substitution"],