fix(vars)!: Rename VARS_TRIE to VARS

This commit is contained in:
Ed Page 2024-12-28 21:31:48 -06:00
parent d17a11650c
commit eb208bd86f
3 changed files with 3155 additions and 3191 deletions

View file

@ -106,7 +106,7 @@ impl BuiltIn {
fn correct_with_vars(&self, word: UniCase<&str>) -> Option<Status<'static>> {
if self.is_vars_enabled() {
typos_vars::VARS_TRIE
typos_vars::VARS
.find(&word)
.map(|variants| self.select_variant(variants))
} else {

File diff suppressed because it is too large Load diff

View file

@ -85,7 +85,7 @@ fn generate_variations<W: Write>(file: &mut W) {
let entry_sets = entry_sets(entries.iter());
let mut referenced_symbols: HashSet<&str> = HashSet::new();
dictgen::DictGen::new()
.name("VARS_TRIE")
.name("VARS")
.value_type("&[(u8, &VariantsMap)]")
.trie()
.write(