mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Add missing case to BoxKind : Eq
This commit is contained in:
parent
6261f4e6d9
commit
9712b74c9f
1 changed files with 1 additions and 0 deletions
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue