mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Fixes to pass tidy.
This commit is contained in:
parent
8915e53cee
commit
a69eed6956
4 changed files with 14 additions and 12 deletions
|
@ -86,7 +86,6 @@ impl<T> MatchAttr for T where T: MatchAttrGeneric, T::Impl: SelectorImpl<AttrVal
|
|||
|
||||
fn match_attr_dash(&self, attr: &AttrSelector<Self::Impl>, value: &String) -> bool {
|
||||
self.match_attr(attr, |attr_value| {
|
||||
|
||||
// The attribute must start with the pattern.
|
||||
if !attr_value.starts_with(value) {
|
||||
return false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue