Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Ockajak committed Jul 9, 2024
1 parent 46dcf0e commit f8ac844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extensions/traversable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ pub(crate) fn fold<'a, Item: 'a, B>(
}

pub(crate) fn group_fold<'a, Item, K: Eq + Hash, B>(
mut iterator: impl Iterator<Item = &'a Item>, mut to_key: impl FnMut(&Item) -> K, initial_value: &B,
iterator: impl Iterator<Item = &'a Item>, mut to_key: impl FnMut(&Item) -> K, initial_value: &B,
mut function: impl FnMut(B, &Item) -> B,
) -> HashMap<K, B>
where
Expand Down

0 comments on commit f8ac844

Please sign in to comment.