Skip to content

Commit 12195d7

Browse files
authored
Merge pull request #1267 from epage/type
fix(dict): Also correct typ to type
2 parents 718c4ff + d4dbe5f commit 12195d7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

crates/typos-dict/assets/words.csv

+1-1
Original file line numberDiff line numberDiff line change
@@ -66943,7 +66943,7 @@ tyops,typos
6694366943
tyos,typos
6694466944
tyou,you
6694566945
tyour,your,tour
66946-
typ,typo
66946+
typ,typo,type
6694766947
typcast,typecast
6694866948
typcasting,typecasting
6694966949
typcasts,typecasts

crates/typos-dict/benches/benches/aho_corasick_codegen.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -138565,7 +138565,7 @@ impl Word {
138565138565
&["typos"],
138566138566
&["you"],
138567138567
&["your", "tour"],
138568-
&["typo"],
138568+
&["typo", "type"],
138569138569
&["typecast"],
138570138570
&["typecasting"],
138571138571
&["typecasts"],

crates/typos-dict/src/word_codegen.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -153935,7 +153935,7 @@ pub static WORD: dictgen::Map<dictgen::InsensitiveStr<'static>, &[&str]> = dictg
153935153935
dictgen::InsensitiveStr::Ascii("approching"),
153936153936
&["approaching"],
153937153937
),
153938-
(dictgen::InsensitiveStr::Ascii("typ"), &["typo"]),
153938+
(dictgen::InsensitiveStr::Ascii("typ"), &["typo", "type"]),
153939153939
(dictgen::InsensitiveStr::Ascii("messures"), &["measures"]),
153940153940
(
153941153941
dictgen::InsensitiveStr::Ascii("corruptiuon"),

0 commit comments

Comments
 (0)