diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2025-01-27 00:01:08 +0100 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2025-01-27 00:01:08 +0100 |
| commit | 59035c4532110a9fec8309bbda55d8ba6d14ce94 (patch) | |
| tree | 687293204c5897e519888ecd5330729cd9e7fe82 /server/src/git.rs | |
| parent | 3512521213f8701ebbb4e5515954ec5ab8ea2993 (diff) | |
Make clippy happy
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 } |
