Skip to main content

print_table

Function print_table 

Source
pub fn print_table(headers: &[&str], rows: &[Vec<String>])
Expand description

Print rows as a left-aligned table with dynamic column widths. The last column is never padded. Two spaces separate columns.