From c26ac10b3b054146a9ed3c6c14aa4bbee5419932 Mon Sep 17 00:00:00 2001 From: Edd Robinson Date: Mon, 22 Jun 2020 11:21:35 +0100 Subject: [PATCH] refactor: update delorean_ingest/src/lib.rs Co-authored-by: Jake Goulding --- delorean_ingest/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/delorean_ingest/src/lib.rs b/delorean_ingest/src/lib.rs index 91a183364a..d9b688a212 100644 --- a/delorean_ingest/src/lib.rs +++ b/delorean_ingest/src/lib.rs @@ -352,7 +352,7 @@ impl<'a> MeasurementWriter<'a> { /// than always making new ones fn pack_lines<'a>(schema: &Schema, lines: &[ParsedLine<'a>]) -> Vec { let col_defs = schema.get_col_defs(); - let mut packers: Vec = col_defs + let mut packers: Vec<_> = col_defs .iter() .enumerate() .map(|(idx, col_def)| {