refactor: update delorean_ingest/src/lib.rs

Co-authored-by: Jake Goulding <jake.goulding@integer32.com>
pull/24376/head
Edd Robinson 2020-06-22 11:21:35 +01:00
parent f011748345
commit c26ac10b3b
1 changed files with 1 additions and 1 deletions

View File

@ -352,7 +352,7 @@ impl<'a> MeasurementWriter<'a> {
/// than always making new ones
fn pack_lines<'a>(schema: &Schema, lines: &[ParsedLine<'a>]) -> Vec<Packers> {
let col_defs = schema.get_col_defs();
let mut packers: Vec<Packers> = col_defs
let mut packers: Vec<_> = col_defs
.iter()
.enumerate()
.map(|(idx, col_def)| {