pub(super) fn fold_change(
changes: BTreeMap<OwnedUserId, BTreeSet<ProfileFieldName>>,
(user_id, field): ProfileChange<'_>,
) -> BTreeMap<OwnedUserId, BTreeSet<ProfileFieldName>>Expand description
Records that one member changed one field.
Both halves are owned here, at the first point the borrowed change-log item would otherwise be retained.