pub fn pretty_display_list<T>(
t_to_string: impl Fn(T) -> String,
it: impl IntoIterator<Item = T>,
) -> StringExpand description
Custom function to pretty-print elements from an iterator The output format is:
[
elem_0,
...
elem_n
]pub fn pretty_display_list<T>(
t_to_string: impl Fn(T) -> String,
it: impl IntoIterator<Item = T>,
) -> StringCustom function to pretty-print elements from an iterator The output format is:
[
elem_0,
...
elem_n
]