Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
fbrv committed Aug 17, 2023
1 parent 577f243 commit 419d20c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ pub trait FallibleIterator {
}

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

#[inline]
/// Returns the iterator elements product.
fn product<I>(self) -> Result<I, Self::Error>
where
Self: Sized,
Expand Down

0 comments on commit 419d20c

Please sign in to comment.