Skip to content

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

fix(core): improve `Dashes` description (#1174)

Elijah Potter2989ac31cd75
diff --git a/harper-core/src/linting/dashes.rs b/harper-core/src/linting/dashes.rs
index 6dbbc6a07..b8938fab1 100644
--- a/harper-core/src/linting/dashes.rs
+++ b/harper-core/src/linting/dashes.rs
@@ -54,7 +54,7 @@ impl PatternLinter for Dashes {
}
fn description(&self) -> &'static str {
- "Rather than outright using an em dash or en dash, authors often use a sequence of hyphens, expecting them to be condensed.\nThis rule does so."
+ "Rather than outright using an em dash or en dash, authors often use a sequence of hyphens, expecting them to be condensed. Use two hyphens to denote an en dash and three to denote an em dash."
}
}