Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
refactor: `WordSet` is no longer needed just for just `other`
hippietrail1b19afafa117
diff --git a/harper-core/src/linting/then_than.rs b/harper-core/src/linting/then_than.rsindex eeb7227ae..b3de25729 100644--- a/harper-core/src/linting/then_than.rs+++ b/harper-core/src/linting/then_than.rs@@ -19,7 +19,7 @@ impl ThenThan {// Comparative form of adjectiveBox::new(SequencePattern::default()- .then(WordSet::new(&["other"]).or(Box::new(+ .then(AnyCapitalization::of("other").or(Box::new(|tok: &Token, source: &[char]| {is_comparative_adjective(tok, source)},