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!(