refactor: update delorean_ingest/src/lib.rs
Co-authored-by: Jake Goulding <jake.goulding@integer32.com>pull/24376/head
parent
f011748345
commit
c26ac10b3b
|
@ -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)| {
|
||||
|
|
Loading…
Reference in New Issue