We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0c6075 commit 48ce016Copy full SHA for 48ce016
src/components/style/properties.rs.mako
@@ -933,7 +933,9 @@ enum PropertyDeclarationParseResult {
933
impl PropertyDeclaration {
934
pub fn parse(name: &str, value: &[ComponentValue],
935
result_list: &mut ~[PropertyDeclaration]) -> PropertyDeclarationParseResult {
936
- match name.to_ascii_lower().as_slice() {
+ // FIXME: local variable to work around Rust #10683
937
+ let name_lower = name.to_ascii_lower();
938
+ match name_lower.as_slice() {
939
% for property in LONGHANDS:
940
"${property.name}" => result_list.push(${property.ident}_declaration(
941
match longhands::${property.ident}::parse_declared(value) {
0 commit comments