diff options
author | Sascha Grunert <Sascha.Grunert@rohde-schwarz.com> | 2016-10-06 13:16:49 +0200 |
---|---|---|
committer | Sascha Grunert <Sascha.Grunert@rohde-schwarz.com> | 2016-10-06 13:16:49 +0200 |
commit | 08e296b8b37bf5b4b54cfd4abc0bd9887c10f915 (patch) | |
tree | f53897e47ff7776eb3a2e635854afc84b62f7f75 | |
parent | d472a4a3581abd26d1bb74870e4d85972df2e202 (diff) |
Improved internal source code quality by refactoring0.5.0
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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) } |