From 75510b172ad9686aa07419c86e11e0f7809f0869 Mon Sep 17 00:00:00 2001 From: JT <547158+jntrnr@users.noreply.github.com> Date: Sun, 26 Sep 2021 06:57:26 +1300 Subject: [PATCH] Revert "improve table for lists" --- crates/nu-command/src/table.rs | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/crates/nu-command/src/table.rs b/crates/nu-command/src/table.rs index b5122d70c1..45109cec3f 100644 --- a/crates/nu-command/src/table.rs +++ b/crates/nu-command/src/table.rs @@ -66,30 +66,22 @@ fn convert_to_table(iter: impl IntoIterator) -> Option row.push(value.into_string()), - Err(_) => row.push(String::new()), - } + match result { + Ok(value) => row.push(value.into_string()), + Err(_) => row.push(String::new()), } }