remove superfluous reference

This commit is contained in:
Connor Skees 2020-07-07 15:02:27 -04:00
parent 4379e1e3b7
commit 69089a13cf

View File

@ -357,7 +357,7 @@ impl SimpleSelector {
.. ..
}) = their_simple }) = their_simple
{ {
if SUBSELECTOR_PSEUDOS.contains(&unvendor(&name)) { if SUBSELECTOR_PSEUDOS.contains(&unvendor(name)) {
return sel.components.iter().all(|complex| { return sel.components.iter().all(|complex| {
if complex.components.len() != 1 { if complex.components.len() != 1 {
return false; return false;