Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(dict): Dont correct currency code #770

Merged
merged 1 commit into from
Jun 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions crates/typos-dict/assets/allowed.csv
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ deques,noun
dequeues,verb
ons,so `add-ons` works
accreting,verb of accrete
zar,currency code for the South African rand
1 change: 0 additions & 1 deletion crates/typos-dict/assets/words.csv
Original file line number Diff line number Diff line change
Expand Up @@ -63006,7 +63006,6 @@ yuo,you
yuor,your
yur,your
zaelots,zealots
zar,czar
zars,czars
zealotes,zealots
zealoths,zealots
Expand Down
5 changes: 2 additions & 3 deletions crates/typos-dict/src/dict_codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -308,11 +308,10 @@ static WORD_ZA_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::D
pub static WORD_ZA_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictgen::DictTable {
keys: &[
dictgen::InsensitiveStr::Ascii("elots"),
dictgen::InsensitiveStr::Ascii("r"),
dictgen::InsensitiveStr::Ascii("rs"),
],
values: &[&["zealots"], &["czar"], &["czars"]],
range: 1..=5,
values: &[&["zealots"], &["czars"]],
range: 2..=5,
};

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