Skip to content

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

fix(core): someone being pedantic in my presentation (#4443)

Elijah Potter5598f0aeb05f
diff --git a/harper-core/src/linting/lint_group/mod.rs b/harper-core/src/linting/lint_group/mod.rs
index ca917daf3..1f4054f73 100644
--- a/harper-core/src/linting/lint_group/mod.rs
+++ b/harper-core/src/linting/lint_group/mod.rs
@@ -373,7 +373,7 @@ pub struct LintGroup {
/// mapping of `Chunk -> Lint` and only rerun the expr linters
/// when a chunk changes.
///
- /// Since the expr linter results also depend on the config, we hash it and pass it as part
+ /// Since the expr linter results also depend on the configuration, we hash it and pass it as part
/// of the key.
chunk_expr_cache: LruCache<(u64, u64), BTreeMap<String, Vec<Lint>>>,
sentence_expr_cache: LruCache<(u64, u64), BTreeMap<String, Vec<Lint>>>,
@@ -961,7 +961,7 @@ impl LintGroup {
// Uses Sentence rather than Chunk
out.add("Damages", Damages::default());
- // Uses Sentence rather than CHunk
+ // Uses Sentence rather than Chunk
out.add("DissembleDisassemble", DissembleDisassemble::default());
// Uses Sentence rather than Chunk