chore: update rust toolchain 1.84

Fixed clippy warnings for lifetime elision and preferring `Display`
implementations over `ToString`.
This commit is contained in:
Fintan Halpenny
2025-02-10 14:11:28 +00:00
parent 41e3f30ffc
commit 527fddfd4d
20 changed files with 64 additions and 69 deletions
+2 -2
View File
@@ -113,7 +113,7 @@ impl std::fmt::Debug for Author {
}
}
impl<'repo> TryFrom<git2::Signature<'repo>> for Author {
impl TryFrom<git2::Signature<'_>> for Author {
type Error = str::Utf8Error;
fn try_from(signature: git2::Signature) -> Result<Self, Self::Error> {
@@ -182,7 +182,7 @@ impl Serialize for Commit {
}
}
impl<'repo> TryFrom<git2::Commit<'repo>> for Commit {
impl TryFrom<git2::Commit<'_>> for Commit {
type Error = Error;
fn try_from(commit: git2::Commit) -> Result<Self, Self::Error> {