Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
fix: formatting
Grant Lemons69cbae17bb50
diff --git a/harper-core/src/spell/dictionary.rs b/harper-core/src/spell/dictionary.rsindex 8689762de..7fb4e5c66 100644--- a/harper-core/src/spell/dictionary.rs+++ b/harper-core/src/spell/dictionary.rs@@ -10,9 +10,19 @@ pub trait Dictionary: Send + Sync {/// Check if the dictionary contains a given word.fn contains_word_str(&self, word: &str) -> bool;/// Gets best fuzzy match from dictionary- fn fuzzy_match(&self, word: &[char], max_distance: u8, max_results: usize) -> Vec<FuzzyMatchResult>;+ fn fuzzy_match(+ &self,+ word: &[char],+ max_distance: u8,+ max_results: usize,+ ) -> Vec<FuzzyMatchResult>;/// Gets best fuzzy match from dictionary- fn fuzzy_match_str(&self, word: &str, max_distance: u8, max_results: usize) -> Vec<FuzzyMatchResult>;+ fn fuzzy_match_str(+ &self,+ word: &str,+ max_distance: u8,+ max_results: usize,+ ) -> Vec<FuzzyMatchResult>;/// Get the associated [`WordMetadata`] for a given word./// If the word isn't in the dictionary, the resulting metadata will be/// empty.