forked from AbleOS/ableos_userland
20 lines
369 B
Rust
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);
|
||
|
}
|