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!
This commit is contained in:
Benjamin Sago 2017-09-01 22:48:42 +01:00
parent 45a807a14f
commit f3c7fa500f

View File

@ -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)
}
}