From 9712b74c9f23d20d7727d4cb9b2410e3c02cdde6 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Thu, 6 Sep 2012 14:14:38 -0700 Subject: [PATCH] Add missing case to BoxKind : Eq --- src/servo/layout/base.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/servo/layout/base.rs b/src/servo/layout/base.rs index 6a46e66de89..284c7aa65f0 100644 --- a/src/servo/layout/base.rs +++ b/src/servo/layout/base.rs @@ -34,6 +34,7 @@ impl BoxKind : cmp::Eq { pure fn eq(&&other: BoxKind) -> bool { match (self, other) { (BlockBox, BlockBox) => true, + (InlineBox, InlineBox) => true, _ => fail ~"unimplemented case in BoxKind.eq" } }