remove unnecessary lifetime annotations

This commit is contained in:
Kiril Videlov 2024-07-04 13:31:08 +02:00
parent 3dded08458
commit babfa974ce
No known key found for this signature in database
GPG Key ID: A4C733025427C471

View File

@ -630,7 +630,7 @@ impl Repository {
&self.git_repository
}
fn signatures<'a>(&self) -> Result<(git2::Signature<'a>, git2::Signature<'a>)> {
fn signatures(&self) -> Result<(git2::Signature, git2::Signature)> {
let config = self.config();
let author = match (config.user_name()?, config.user_email()?) {