Skip to content

Commit 4085053

Browse files
committed
refactor
1 parent 4fc3334 commit 4085053

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/info/repo.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ impl<'a> Repo<'a> {
7979
*author_nbr_of_commits += 1;
8080
total_nbr_of_commits += 1;
8181

82-
time_of_most_recent_commit.get_or_insert_with(|| commit.committer.time);
82+
time_of_most_recent_commit.get_or_insert_with(|| commit.time());
8383
if commit_iter.peek().is_none() {
84-
time_of_first_commit = commit.committer.time.into();
84+
time_of_first_commit = commit.time().into();
8585
}
8686
}
8787
}

0 commit comments

Comments
 (0)