Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
forgot `just format` and `just precommit`
hippietrail3688c548135b
diff --git a/harper-core/src/linting/despite_of.rs b/harper-core/src/linting/despite_of.rsindex 32986dd7d..fb66e8ab9 100644--- a/harper-core/src/linting/despite_of.rs+++ b/harper-core/src/linting/despite_of.rs@@ -11,7 +11,9 @@ pub struct DespiteOf {impl Default for DespiteOf {fn default() -> Self {- let pattern = SequencePattern::aco("despite").then_whitespace().then_exact_word("of");+ let pattern = SequencePattern::aco("despite")+ .then_whitespace()+ .then_exact_word("of");Self {pattern: Box::new(pattern),@@ -27,7 +29,7 @@ impl PatternLinter for DespiteOf {fn match_to_lint(&self, matched: &[Token], source: &[char]) -> Lint {let span = matched.span().unwrap();let matched = span.get_content(source);-+Lint {span,lint_kind: LintKind::WordChoice,