Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
feat: appeased `just check`
Elijah Potterced472c5563e
diff --git a/harper-core/src/linting/sentence_capitalization.rs b/harper-core/src/linting/sentence_capitalization.rsindex dbc22a84e..51d1093fa 100644--- a/harper-core/src/linting/sentence_capitalization.rs+++ b/harper-core/src/linting/sentence_capitalization.rs@@ -99,7 +99,7 @@ mod tests {assert_lint_count("the linter should not be affected by... that ellipsis.",SentenceCapitalization,- 1+ 1,)}}diff --git a/harper-core/src/parsers/markdown.rs b/harper-core/src/parsers/markdown.rsindex b4e2e04c2..611053e74 100644--- a/harper-core/src/parsers/markdown.rs+++ b/harper-core/src/parsers/markdown.rs@@ -127,7 +127,7 @@ impl Parser for Markdown {let md_parser = pulldown_cmark::Parser::new_ext(&source_str,pulldown_cmark::Options::all()- .difference(pulldown_cmark::Options::ENABLE_SMART_PUNCTUATION)+ .difference(pulldown_cmark::Options::ENABLE_SMART_PUNCTUATION),);let mut tokens = Vec::new();diff --git a/harper-core/src/word_metadata.rs b/harper-core/src/word_metadata.rsindex 03e4f97c3..ad34cafda 100644--- a/harper-core/src/word_metadata.rs+++ b/harper-core/src/word_metadata.rs@@ -11,7 +11,7 @@ pub struct WordMetadata {pub swear: Option<bool>,/// Whether the word is considered especially common.#[serde(default = "default_common")]- pub common: bool+ pub common: bool,}fn default_common() -> bool {@@ -39,7 +39,7 @@ impl WordMetadata {adverb: merge!(self.adverb, other.adverb),conjunction: merge!(self.conjunction, other.conjunction),swear: self.swear.or(other.swear),- common: self.common || other.common+ common: self.common || other.common,}}