diff options
Diffstat (limited to 'server/src/git.rs')
| -rw-r--r-- | server/src/git.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/git.rs b/server/src/git.rs index ade66cb..58d2fda 100644 --- a/server/src/git.rs +++ b/server/src/git.rs @@ -278,13 +278,13 @@ impl RepoData { async fn get_author(&self, repo: &Repository, commit: &str) -> Result<User, Error> { self.get_log_format(repo, commit, "%an%n%al%n%ae") - .map_ok(|output| parse_user(output)) + .map_ok(parse_user) .await } async fn get_commiter(&self, repo: &Repository, commit: &str) -> Result<User, Error> { self.get_log_format(repo, commit, "%cn%n%cl%n%ce") - .map_ok(|output| parse_user(output)) + .map_ok(parse_user) .await } |
