ableos_userland/programs/table_view/src/main.rs
2022-12-03 12:15:03 -06:00

20 lines
369 B
Rust

use std::collections::HashMap;
use table::{Row, Table};
fn main() {
let mut tbl = Table {
table: HashMap::new(),
};
tbl.table.insert(
"Example".to_string(),
Row(
// "header".to_string(),
vec!["hi".to_string(), "hey whats up there".to_string()],
19,
),
);
println!("{}", tbl);
}