From 419d20c0ca6cd47015e009ecdb70beaca0915e77 Mon Sep 17 00:00:00 2001 From: Fabio Baravalle Date: Thu, 17 Aug 2023 14:14:27 +0000 Subject: [PATCH] comments --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index c1a3c62..a3e1a11 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -153,6 +153,7 @@ pub trait FallibleIterator { } #[inline] + /// Sums the iterator elements. fn sum(self) -> Result where Self: Sized, @@ -162,6 +163,7 @@ pub trait FallibleIterator { } #[inline] + /// Returns the iterator elements product. fn product(self) -> Result where Self: Sized,