Skip to content

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

feat(core): add description

Elijah Potter6cc566d6dd4f
diff --git a/harper-core/src/linting/confident.rs b/harper-core/src/linting/confident.rs
index f3eb4dc52..9eeabf573 100644
--- a/harper-core/src/linting/confident.rs
+++ b/harper-core/src/linting/confident.rs
@@ -44,7 +44,7 @@ impl PatternLinter for Confident {
}
fn description(&self) -> &'static str {
- unimplemented!()
+ "This linter detects instances where the noun `confidant` is incorrectly used in place of the adjective `confident`. `Confidant` refers to a trusted person, whereas `confident` describes certainty or self-assurance. The rule suggests replacing `confidant` with `confident` when used in an adjectival context."
}
}