4 use std::iter::Iterator;
6 #[derive(Debug, PartialEq, Eq)]
13 fn read_rows(input: impl std::io::Read) -> impl Iterator<Item = RowInput> {
15 label: std::io::BufReader::new(input)
25 pub fn tablify(_input: &impl std::io::Read) -> String {
26 String::from("Hello, world!")
36 read_rows(&b"foo"[..]).collect::<Vec<_>>(),
38 label: String::from("foo"),
43 read_rows(&b"bar"[..]).collect::<Vec<_>>(),
45 label: String::from("bar"),