Skip to content

Commit

Permalink
Improved internal source code quality by refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Sascha Grunert authored and Sascha Grunert committed Oct 6, 2016
1 parent d472a4a commit 08e296b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -517,9 +517,7 @@ impl GitJournal {
None
} else {
if self.config.sort_by == "name" {
parsed_tag.commits.sort_by(|l, r| {
l.summary.category.cmp(&r.summary.category)
});
parsed_tag.commits.sort_by(|l, r| l.summary.category.cmp(&r.summary.category));
}
Some(parsed_tag)
}
Expand Down

0 comments on commit 08e296b

Please sign in to comment.