Skip to content

Commit

Permalink
thanks clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Sep 19, 2022
1 parent 2f7ae74 commit 3925298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-mailmap/src/snapshot/mod.rs
Expand Up @@ -137,7 +137,7 @@ impl Snapshot {
/// changed names or emails as `Cow::Owned`, or `Cow::Borrowed` if no mapping was found.
pub fn resolve_cow<'a>(&self, signature: git_actor::SignatureRef<'a>) -> Signature<'a> {
self.try_resolve_ref(signature)
.map(|new| enriched_signature(signature, new).into())
.map(|new| enriched_signature(signature, new))
.unwrap_or_else(|| signature.into())
}
}
Expand Down

0 comments on commit 3925298

Please sign in to comment.