Function pretty_vec

Source
pub fn pretty_vec<T: Display>(elems: &[T]) -> String
Expand description

Pretty prints a Vec<T> in a vector like syntax.

For some input values A,B,C:

[A,B,C]

Each element is printed using its underlying Display implementation.