From 0e26e4bac47d45b885dc6f3bc850651fde361c8f Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Fri, 9 Sep 2022 13:32:38 -0400 Subject: [PATCH] spelling: the Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- lib/src/commit_builder.rs | 2 +- lib/src/matchers.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/commit_builder.rs b/lib/src/commit_builder.rs index e1e88cd64..77c66d5d1 100644 --- a/lib/src/commit_builder.rs +++ b/lib/src/commit_builder.rs @@ -54,7 +54,7 @@ impl CommitBuilder { commit.predecessors = vec![predecessor.id().clone()]; commit.committer = settings.signature(); // If the user had not configured a name and email before but now they have, - // update the the author fields with the new information. + // update the author fields with the new information. if commit.author.name == UserSettings::user_name_placeholder() { commit.author.name = commit.committer.name.clone(); } diff --git a/lib/src/matchers.rs b/lib/src/matchers.rs index 7b9ee36ec..18eca7717 100644 --- a/lib/src/matchers.rs +++ b/lib/src/matchers.rs @@ -493,7 +493,7 @@ mod tests { assert!(m.matches(&RepoPath::from_internal_string("foo"))); assert!(!m.matches(&RepoPath::from_internal_string("bar"))); assert!(m.matches(&RepoPath::from_internal_string("foo/bar"))); - // Matches because the the "foo" pattern matches + // Matches because the "foo" pattern matches assert!(m.matches(&RepoPath::from_internal_string("foo/baz/foo"))); assert_eq!(