pub fn format_list<T: Display>(items: &[T], sep: &str) -> String
Format a list of items with a separator.