From b9f974ab334d917b1b79aaa5f1f83e6f727c5bbd Mon Sep 17 00:00:00 2001 From: Bruno de Oliveira Abinader Date: Thu, 20 Nov 2014 00:02:05 -0400 Subject: [PATCH] No longer need for local variable in PropertyDeclaration::parse --- components/style/properties/mod.rs.mako | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/components/style/properties/mod.rs.mako b/components/style/properties/mod.rs.mako index 2511f093e32..760dd2040e9 100644 --- a/components/style/properties/mod.rs.mako +++ b/components/style/properties/mod.rs.mako @@ -1615,9 +1615,7 @@ impl PropertyDeclaration { result_list: &mut Vec, 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}" => {