diff --git a/src/commands/from_ssv.rs b/src/commands/from_ssv.rs index 354d2cb2d1..5f88147afe 100644 --- a/src/commands/from_ssv.rs +++ b/src/commands/from_ssv.rs @@ -33,7 +33,7 @@ impl WholeStreamCommand for FromSSV { } } -fn string_to_table(s: &str, headerless: bool) -> std::iter::Map> { +fn string_to_table(s: &str, headerless: bool) -> Vec> { let mut lines = s.lines().filter(|l| !l.trim().is_empty()); let headers = lines @@ -51,7 +51,7 @@ fn string_to_table(s: &str, headerless: bool) -> std::iter::Map