diff options
Diffstat (limited to 'components/layout/table_row.rs')
-rw-r--r-- | components/layout/table_row.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/layout/table_row.rs b/components/layout/table_row.rs index 55bc3634efa..eb06b31cfec 100644 --- a/components/layout/table_row.rs +++ b/components/layout/table_row.rs @@ -27,7 +27,7 @@ use style::computed_values::LengthOrPercentageOrAuto; use std::sync::Arc; /// A single row of a table. -#[deriving(Encodable)] +#[derive(RustcEncodable)] pub struct TableRowFlow { pub block_flow: BlockFlow, @@ -39,7 +39,7 @@ pub struct TableRowFlow { } /// Information about the column inline size and span for each cell. -#[deriving(Encodable, Copy)] +#[derive(RustcEncodable, Copy)] pub struct CellIntrinsicInlineSize { /// Inline sizes that this cell contributes to the column. pub column_size: ColumnIntrinsicInlineSize, @@ -329,6 +329,6 @@ impl Flow for TableRowFlow { impl fmt::Show for TableRowFlow { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - write!(f, "TableRowFlow: {}", self.block_flow.fragment) + write!(f, "TableRowFlow: {:?}", self.block_flow.fragment) } } |