mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-22 00:51:11 -05:00
commit
f1cf48b6be
2 changed files with 35487 additions and 35483 deletions
|
@ -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
Loading…
Reference in a new issue