Skip to main content

print_list

Function print_list 

Source
pub fn print_list<T: Serialize + Display>(items: &[T]) -> Result<()>
Expand description

Prints a list of serializable items: JSON envelope wrapping an array in --json mode, one item per line otherwise.