File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments