Skip to content

Commit 228cf8d

Browse files
authored
Remove an unecessary lifetime in the Sum implementation (#56)
1 parent 190ea4f commit 228cf8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app_unit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ impl<'a> Sum<&'a Self> for Au {
187187
}
188188
}
189189

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

0 commit comments

Comments
 (0)