Skip to content

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

fix(core): precommit failure

Elijah Potter75dc3a0fa22e
diff --git a/harper-core/src/linting/confident.rs b/harper-core/src/linting/confident.rs
index ec88f6591..f3eb4dc52 100644
--- a/harper-core/src/linting/confident.rs
+++ b/harper-core/src/linting/confident.rs
@@ -31,7 +31,7 @@ impl PatternLinter for Confident {
self.pattern.as_ref()
}
- fn match_to_lint(&self, matched_tokens: &[Token], source: &[char]) -> Option<Lint> {
+ fn match_to_lint(&self, matched_tokens: &[Token], _source: &[char]) -> Option<Lint> {
let span = matched_tokens.last()?.span;
Some(Lint {