Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
fix(fst-dict): satisfy clippy
Grant Lemonsebe01a632c30
diff --git a/harper-core/src/spell/fst_dictionary.rs b/harper-core/src/spell/fst_dictionary.rsindex 559aab8c9..d2c006e14 100644--- a/harper-core/src/spell/fst_dictionary.rs+++ b/harper-core/src/spell/fst_dictionary.rs@@ -159,10 +159,10 @@ impl Dictionary for FstDictionary {stream_distances_vec(&mut word_indexes_stream, &dfa).into_iter()- .merge(- stream_distances_vec(&mut word_indexes_lowercase_stream, &dfa_lowercase)- .into_iter(),- )+ .merge(stream_distances_vec(+ &mut word_indexes_lowercase_stream,+ &dfa_lowercase,+ ))// Sort by edit distance.sorted_unstable_by_key(|a| a.0).dedup_by(|a, b| a.0 == b.0)