Skip to content

Commit

Permalink
Remove an unecessary lifetime in the Sum implementation (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrobinson authored Feb 23, 2024
1 parent 190ea4f commit 228cf8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app_unit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ impl<'a> Sum<&'a Self> for Au {
}
}

impl<'a> Sum<Self> for Au {
impl Sum<Self> for Au {
fn sum<I: Iterator<Item = Self>>(iter: I) -> Self {
iter.fold(Self::zero(), |a, b| a + b)
}
Expand Down

0 comments on commit 228cf8d

Please sign in to comment.