mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Rename SimpleSelector to Component.
MozReview-Commit-ID: JfaZpHSkG8h
This commit is contained in:
parent
cf06e2bf1e
commit
cebacc7faa
7 changed files with 205 additions and 209 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue