diff --git a/components/layout_2020/geom.rs b/components/layout_2020/geom.rs index 41931e89617..47a49c2b937 100644 --- a/components/layout_2020/geom.rs +++ b/components/layout_2020/geom.rs @@ -181,19 +181,6 @@ impl LogicalRect { } } -impl fmt::Debug for LogicalRect { - fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - write!( - f, - "Rect(i{}×b{} @ (i{},b{}))", - self.size.inline.px(), - self.size.block.px(), - self.start_corner.inline.px(), - self.start_corner.block.px(), - ) - } -} - impl fmt::Debug for LogicalRect { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { write!(