Skip to content

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

chore: minor typos in two files' comments (#1218)

Andrew Dunbara226ae4d58ee
diff --git a/harper-core/src/linting/lets_confusion/no_contraction_with_verb.rs b/harper-core/src/linting/lets_confusion/no_contraction_with_verb.rs
index b092ee112..5664c527a 100644
--- a/harper-core/src/linting/lets_confusion/no_contraction_with_verb.rs
+++ b/harper-core/src/linting/lets_confusion/no_contraction_with_verb.rs
@@ -209,7 +209,7 @@ mod tests {
);
}
- // False positives / edge cases files on GitHub
+ // False positives / edge cases filed on GitHub
#[test]
fn dont_flag_let_us() {
diff --git a/harper-core/tests/pos_tags.rs b/harper-core/tests/pos_tags.rs
index 8dc3437c3..db83f4a09 100644
--- a/harper-core/tests/pos_tags.rs
+++ b/harper-core/tests/pos_tags.rs
@@ -1,4 +1,4 @@
-//! This test creats snapshots of the part-of-speech (POS) tags assigned by the
+//! This test creates snapshots of the part-of-speech (POS) tags assigned by the
//! [`Document`] struct to the text files in the `tests/text` directory.
//!
//! # Usage
@@ -27,7 +27,7 @@
//! Tags are assigned based on the [`TokenKind`] and [`WordMetadata`] of a
//! token.
//!
-//! - The tag of [`TokenKind::Word`] variants depends on the their
+//! - The tag of [`TokenKind::Word`] variants depends on their
//! [`WordMetadata`]. If they don't have any metadata, they are denoted by `?`.
//! Otherwise, the tag is constructed as follows:
//!
@@ -48,7 +48,7 @@
//! - Prepositions are denoted by `P`.
//! - Dialects are denoted by `Am`, `Br`, `Ca`, or `Au`.
//!
-//! The tagger supports uncertaintiy, so a single word can be e.g. both a
+//! The tagger supports uncertainty, so a single word can be e.g. both a
//! noun and a verb. This is denoted by a `/` between the tags.
//! For example, `N/V/J` means the word is a noun, verb, and/or adjective.
//!