mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
style: Minor cleanup: Use shorthand initialization in selectors.
Differential Revision: https://phabricator.services.mozilla.com/D90049
This commit is contained in:
parent
639bada63a
commit
89c2e39dd9
2 changed files with 15 additions and 15 deletions
|
@ -751,7 +751,7 @@ where
|
|||
&NamespaceConstraint::Specific(&crate::parser::namespace_empty_string::<E::Impl>()),
|
||||
local_name,
|
||||
&AttrSelectorOperation::WithValue {
|
||||
operator: operator,
|
||||
operator,
|
||||
case_sensitivity: case_sensitivity.to_unconditional(is_html),
|
||||
expected_value: value,
|
||||
},
|
||||
|
@ -780,9 +780,9 @@ where
|
|||
case_sensitivity,
|
||||
ref expected_value,
|
||||
} => AttrSelectorOperation::WithValue {
|
||||
operator: operator,
|
||||
operator,
|
||||
case_sensitivity: case_sensitivity.to_unconditional(is_html),
|
||||
expected_value: expected_value,
|
||||
expected_value,
|
||||
},
|
||||
},
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue