Add missing case to BoxKind : Eq

This commit is contained in:
Brian Anderson 2012-09-06 14:14:38 -07:00
parent 6261f4e6d9
commit 9712b74c9f

View file

@ -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"
}
}