Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
fix(fst-dict): remove unused merged hashmap
Grant Lemons39731fa4f0fb
diff --git a/harper-core/src/spell/merged_dictionary.rs b/harper-core/src/spell/merged_dictionary.rsindex 13deee789..38524dc9d 100644--- a/harper-core/src/spell/merged_dictionary.rs+++ b/harper-core/src/spell/merged_dictionary.rs@@ -1,6 +1,5 @@use crate::Lrc;-use hashbrown::HashMap;use itertools::Itertools;use super::dictionary::Dictionary;@@ -11,14 +10,12 @@ use crate::{CharString, WordMetadata};#[derive(Clone)]pub struct MergedDictionary {children: Vec<Lrc<dyn Dictionary>>,- merged: HashMap<CharString, WordMetadata>,}impl MergedDictionary {pub fn new() -> Self {Self {children: Vec::new(),- merged: HashMap::new(),}}@@ -28,8 +25,8 @@ impl MergedDictionary {}impl PartialEq for MergedDictionary {- fn eq(&self, other: &Self) -> bool {- self.merged == other.merged+ fn eq(&self, _other: &Self) -> bool {+ false}}