Rename SimpleSelector to Component.

MozReview-Commit-ID: JfaZpHSkG8h
This commit is contained in:
Bobby Holley 2017-04-20 12:25:51 -07:00
parent cf06e2bf1e
commit cebacc7faa
7 changed files with 205 additions and 209 deletions

View file

@ -6,8 +6,8 @@
#![deny(missing_docs)]
use parser::{AttrSelector, Combinator, SelectorImpl};
use parser::{SelectorIter, SimpleSelector};
use parser::{AttrSelector, Combinator, Component};
use parser::{SelectorImpl, SelectorIter};
/// A trait to visit selector properties.
///
@ -25,7 +25,7 @@ pub trait SelectorVisitor {
}
/// Visit a simple selector.
fn visit_simple_selector(&mut self, _: &SimpleSelector<Self::Impl>) -> bool {
fn visit_simple_selector(&mut self, _: &Component<Self::Impl>) -> bool {
true
}