Skip to content

Commit 69ac7ac

Browse files
committed
Fixed formatting error in GroupingMap::aggregate doc
1 parent b311e1e commit 69ac7ac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/grouping_map.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ impl<I, K, V> GroupingMap<I>
5656
where I: Iterator<Item = (K, V)>,
5757
K: Hash + Eq,
5858
{
59-
/// This is the generic way to perform any operations on a `GroupingMap`.
59+
/// This is the generic way to perform any operation on a `GroupingMap`.
6060
/// It's suggested to use this method only to implement custom operations
6161
/// when the already provided ones are not enough.
6262
///
@@ -68,6 +68,7 @@ impl<I, K, V> GroupingMap<I>
6868
/// - the current value of the accumulator of the group if there is currently one;
6969
/// - a reference to the key of the group this element belongs to;
7070
/// - the element from the source being aggregated;
71+
///
7172
/// If `operation` returns `Some(element)` then the accumulator is updated with `element`,
7273
/// otherwise the previous accumulation is discarded.
7374
///

0 commit comments

Comments
 (0)