Skip to content

Commit 41e3e8a

Browse files
committed
chore: fix typos
1 parent e7113f5 commit 41e3e8a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

git-cliff-core/src/changelog.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,18 +119,18 @@ impl<'a> Changelog<'a> {
119119
/// Splits the commits by their message lines.
120120
/// Returns a new vector of commits with each line as a separate commit.
121121
fn apply_split_commits(commits: &mut Vec<Commit<'a>>) -> Vec<Commit<'a>> {
122-
let mut splitted_commits = Vec::new();
122+
let mut split_commits = Vec::new();
123123
for commit in commits {
124124
commit.message.lines().for_each(|line| {
125125
let mut c = commit.clone();
126126
c.message = line.to_string();
127127
c.links.clear();
128128
if !c.message.is_empty() {
129-
splitted_commits.push(c)
129+
split_commits.push(c)
130130
};
131131
})
132132
}
133-
splitted_commits
133+
split_commits
134134
}
135135

136136
/// Applies the commit parsers to the commits and returns the parsed

0 commit comments

Comments
 (0)