No longer need for local variable in PropertyDeclaration::parse

This commit is contained in:
Bruno de Oliveira Abinader 2014-11-20 00:02:05 -04:00
parent dfa9e1aa4a
commit b9f974ab33

View file

@ -1615,9 +1615,7 @@ impl PropertyDeclaration {
result_list: &mut Vec<PropertyDeclaration>,
base_url: &Url,
seen: &mut PropertyBitField) -> PropertyDeclarationParseResult {
// FIXME: local variable to work around Rust #10683
let name_lower = name.as_slice().to_ascii_lower();
match name_lower.as_slice() {
match name.to_ascii_lower().as_slice() {
% for property in LONGHANDS:
% if property.derived_from is None:
"${property.name}" => {