Fixes to pass tidy.

This commit is contained in:
Bobby Holley 2017-02-07 22:56:01 -08:00
parent 8915e53cee
commit a69eed6956
4 changed files with 14 additions and 12 deletions

View file

@ -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