Created
June 8, 2021 15:58
-
-
Save Steboss89/12e423ab1e7ebe9f1b88e0351c52ebd8 to your computer and use it in GitHub Desktop.
read_housing_csv.rs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
reader.lines().enumerate() | |
.map(|(numb, line)| line.expect(&format!("Impossible to read line number {}", numb))) | |
.map(|row| read_single_line(row)) | |
.collect() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment