From f3c7fa500f1fe49b1f6edea7600e8a810495f430 Mon Sep 17 00:00:00 2001 From: Benjamin Sago Date: Fri, 1 Sep 2017 22:48:42 +0100 Subject: [PATCH] Fix TableOptions Debug The only field we can really show is the list of columns, and that happened to be useful this one time, so it might as well get shown! --- src/output/table.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output/table.rs b/src/output/table.rs index 67cd518..1a23084 100644 --- a/src/output/table.rs +++ b/src/output/table.rs @@ -29,7 +29,7 @@ pub struct Options { // and Mutex is not that! impl fmt::Debug for Options { fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { - write!(f, "") + write!(f, "Table({:#?})", self.extra_columns) } }