mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-18 10:15:10 +00:00
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:
parent
45a807a14f
commit
f3c7fa500f
@ -29,7 +29,7 @@ pub struct Options {
|
|||||||
// and Mutex<UsersCache> is not that!
|
// and Mutex<UsersCache> is not that!
|
||||||
impl fmt::Debug for Options {
|
impl fmt::Debug for Options {
|
||||||
fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> {
|
fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> {
|
||||||
write!(f, "<table options>")
|
write!(f, "Table({:#?})", self.extra_columns)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user