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