diff options
Diffstat (limited to 'components/layout/table_cell.rs')
-rw-r--r-- | components/layout/table_cell.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout/table_cell.rs b/components/layout/table_cell.rs index 89eea551c73..c80a4135f9f 100644 --- a/components/layout/table_cell.rs +++ b/components/layout/table_cell.rs @@ -22,7 +22,7 @@ use style::{UnsignedIntegerAttribute, ComputedValues}; use std::sync::Arc; /// A table formatting context. -#[deriving(Encodable)] +#[derive(RustcEncodable)] pub struct TableCellFlow { /// Data common to all block flows. pub block_flow: BlockFlow, @@ -176,6 +176,6 @@ impl Flow for TableCellFlow { impl fmt::Show for TableCellFlow { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - write!(f, "TableCellFlow: {}", self.block_flow) + write!(f, "TableCellFlow: {:?}", self.block_flow) } } |