mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
No longer need for local variable in PropertyDeclaration::parse
This commit is contained in:
parent
dfa9e1aa4a
commit
b9f974ab33
1 changed files with 1 additions and 3 deletions
|
@ -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}" => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue