Skip to content

Commit

Permalink
Revert "fix: remove thead -> thread"
Browse files Browse the repository at this point in the history
This reverts commit 69f8950.
  • Loading branch information
epage committed Aug 23, 2022
1 parent 096a806 commit 1e58c65
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions crates/typos-dict/assets/words.csv
Original file line number Diff line number Diff line change
Expand Up @@ -48342,6 +48342,7 @@ thast,that
thatn,that,than
thay,they
thck,thick
thead,thread
theard,thread
thearding,threading
theards,threads
Expand Down
4 changes: 3 additions & 1 deletion crates/typos-dict/src/dict_codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16217,6 +16217,7 @@ static WORD_THEA_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen:

pub static WORD_THEA_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictgen::DictTable {
keys: &[
dictgen::InsensitiveStr::Ascii("d"),
dictgen::InsensitiveStr::Ascii("rd"),
dictgen::InsensitiveStr::Ascii("rding"),
dictgen::InsensitiveStr::Ascii("rds"),
Expand All @@ -16227,6 +16228,7 @@ pub static WORD_THEA_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic
dictgen::InsensitiveStr::Ascii("ture"),
],
values: &[
&["thread"],
&["thread"],
&["threading"],
&["threads"],
Expand All @@ -16236,7 +16238,7 @@ pub static WORD_THEA_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic
&["theatre"],
&["theatre"],
],
range: 2..=5,
range: 1..=5,
};

static WORD_THC_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode {
Expand Down

0 comments on commit 1e58c65

Please sign in to comment.