Merge pull request #133 from epage/csv

fix(dict): Missing a correction
This commit is contained in:
Ed Page 2020-08-19 20:03:46 -05:00 committed by GitHub
commit f1cf48b6be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 35487 additions and 35483 deletions

View file

@ -19,7 +19,9 @@ fn generate<W: std::io::Write>(file: &mut W) {
) )
.unwrap(); .unwrap();
let mut builder = phf_codegen::Map::new(); let mut builder = phf_codegen::Map::new();
let records: Vec<_> = csv::Reader::from_reader(DICT) let records: Vec<_> = csv::ReaderBuilder::new()
.has_headers(false)
.from_reader(DICT)
.records() .records()
.map(|r| r.unwrap()) .map(|r| r.unwrap())
.collect(); .collect();

File diff suppressed because it is too large Load diff