Skip to content

Commit 419d20c

Browse files
committed
comments
1 parent 577f243 commit 419d20c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ pub trait FallibleIterator {
153153
}
154154

155155
#[inline]
156+
/// Sums the iterator elements.
156157
fn sum<I>(self) -> Result<I, Self::Error>
157158
where
158159
Self: Sized,
@@ -162,6 +163,7 @@ pub trait FallibleIterator {
162163
}
163164

164165
#[inline]
166+
/// Returns the iterator elements product.
165167
fn product<I>(self) -> Result<I, Self::Error>
166168
where
167169
Self: Sized,

0 commit comments

Comments
 (0)