pub(crate) fn distinct<'a, V: PartialEq>( values: impl Iterator<Item = &'a V>, ) -> Vec<&'a V>
Distinct values in first-seen order.