()
| 4 | use csv::ReaderBuilder; |
| 5 | |
| 6 | fn main() -> Result<()> { |
| 7 | let data = "\ |
| 8 | city,country,pop |
| 9 | Boston,United States,4628910 |
| 10 | Concord,United States,42695 |
| 11 | "; |
| 12 | |
| 13 | let mut reader = ReaderBuilder::new().from_reader(data.as_bytes()); |
| 14 | let table = TableStruct::try_from(&mut reader).unwrap(); |
| 15 | |
| 16 | print_stdout(table) |
| 17 | } |
nothing calls this directly
no test coverage detected