chore: Fix clippy::perf warnings in ./stx-genesis

This commit is contained in:
Jeff Bencin
2024-02-01 16:54:29 -05:00
parent 8af4e1ac25
commit 07d19097b9

View File

@@ -129,7 +129,7 @@ fn iter_deflated_csv(deflate_bytes: &'static [u8]) -> Box<dyn Iterator<Item = Ve
let line_iter = buff_reader
.lines()
.map(|line| line.unwrap())
.map(|line| line.split(",").map(String::from).collect());
.map(|line| line.split(',').map(String::from).collect());
return Box::new(line_iter);
}