10 lines
211 B
Rust
10 lines
211 B
Rust
use std::io;
|
|
|
|
fn main() {
|
|
let mut rdr = csv::Reader::from_reader(io::stdin());
|
|
for result in rdr.records() {
|
|
let record = result.expect("a CSV record");
|
|
println!("{:?}", record);
|
|
}
|
|
}
|