Skip to content

Offline, privacy-first grammar checker. Fast, open-source, Rust-powered

fix: can't include example of mistake in description

hippietrail0c12e2d9a54c
diff --git a/harper-core/src/linting/modal_of.rs b/harper-core/src/linting/modal_of.rs
index 6010cc356..6d7fb994f 100644
--- a/harper-core/src/linting/modal_of.rs
+++ b/harper-core/src/linting/modal_of.rs
@@ -73,7 +73,7 @@ impl PatternLinter for ModalOf {
}
fn description(&self) -> &'static str {
- "Detects `would of`, `could of, `should of`, etc."
+ "Detects `of` mistakenly used with `would`, `could`, `should`, etc."
}
}