Skip to content

Commit 5ef04e2

Browse files
authored
Merge pull request #981 from epage/ans
fix(dict): Don't correct `ans`
2 parents ae0de18 + 47790f2 commit 5ef04e2

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

crates/typos-dict/assets/allowed.csv

+1
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,4 @@ ro,acronym for read-only
3333
dur,abbreviation for duration
3434
ang,abbreviation for angle
3535
lst,abbreviation for list especially when list is a built-in like Python
36+
ans,abbrevation for answer

crates/typos-dict/assets/words.csv

-1
Original file line numberDiff line numberDiff line change
@@ -3383,7 +3383,6 @@ anpitheater,amphitheater
33833383
anpitheaters,amphitheaters
33843384
anrachist,anarchist
33853385
anroid,android
3386-
ans,and
33873386
ansalisation,nasalisation
33883387
ansalization,nasalization
33893388
ansamble,ensemble

crates/typos-dict/src/word_codegen.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -207852,7 +207852,7 @@ pub static WORD_ANTA_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic
207852207852

207853207853
static WORD_ANS_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode {
207854207854
children: dictgen::DictTrieChild::Flat(&WORD_ANS_CHILDREN),
207855-
value: Some(&["and"]),
207855+
value: None,
207856207856
};
207857207857

207858207858
pub static WORD_ANS_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictgen::DictTable {

0 commit comments

Comments
 (0)