Skip to content

Commit

Permalink
Fix new clippy lint in newly released stable 1.83
Browse files Browse the repository at this point in the history
clippy::needless_lifetimes
  • Loading branch information
Notgnoshi committed Nov 29, 2024
1 parent 1376fe4 commit 96af822
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions herostratus/src/achievement/process_rules.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ where
num_achievements_generated: u64,
}

impl<'repo, Oids> Achievements<'repo, Oids>
impl<Oids> Achievements<'_, Oids>
where
Oids: Iterator<Item = git2::Oid>,
{
Expand Down Expand Up @@ -78,7 +78,7 @@ where
}
}

impl<'repo, Oids> Iterator for Achievements<'repo, Oids>
impl<Oids> Iterator for Achievements<'_, Oids>
where
Oids: Iterator<Item = git2::Oid>,
{
Expand Down

0 comments on commit 96af822

Please sign in to comment.