summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Sago <ogham@bsago.me>2017-09-01 22:48:42 +0100
committerBenjamin Sago <ogham@bsago.me>2017-09-01 22:48:42 +0100
commitf3c7fa500f1fe49b1f6edea7600e8a810495f430 (patch)
treec7e3d97616bed3bffdaef08afd6463eeb2f6e846
parent45a807a14f617813c0b5ad9637f63dea673e9a23 (diff)
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!
-rw-r--r--src/output/table.rs2
1 files changed, 1 insertions, 1 deletions
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<UsersCache> is not that!
impl fmt::Debug for Options {
fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> {
- write!(f, "<table options>")
+ write!(f, "Table({:#?})", self.extra_columns)
}
}