pub fn display_iterator_stable_order<T: Display>(
set: impl IntoIterator<Item = T>,
) -> StringExpand description
This function can be used to display an iterator in a stable order
ยงExample
use taco_display_utils::display_iterator_stable_order;
let list = vec!["c", "a", "b"];
assert_eq!(display_iterator_stable_order(list.iter()), "a, b, c");