auto merge of #4264 : Ms2ger/servo/panic, r=jdm

This commit is contained in:
bors-servo 2014-12-06 02:37:04 -07:00
commit 507fdbeb6d

View file

@ -639,7 +639,8 @@ impl<'a> AttributeHandlers for JSRef<'a, Element> {
Some(attribute) => {
match *attribute.value() {
UIntAttrValue(_, value) => value,
_ => panic!("Expected a UIntAttrValue"),
_ => panic!("Expected a UIntAttrValue: \
implement parse_plain_attribute"),
}
}
None => 0,