From 9cbb678757109935f2e5b34d4319858f6fa538cb Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Fri, 23 Feb 2024 13:05:16 +0100 Subject: [PATCH] Remove an unecessary lifetime in the `Sum` implementation --- src/app_unit.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app_unit.rs b/src/app_unit.rs index 1729b9c..9e2dbc0 100644 --- a/src/app_unit.rs +++ b/src/app_unit.rs @@ -187,7 +187,7 @@ impl<'a> Sum<&'a Self> for Au { } } -impl<'a> Sum for Au { +impl Sum for Au { fn sum>(iter: I) -> Self { iter.fold(Self::zero(), |a, b| a + b) }