mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Fix some "unused" warnings
This commit is contained in:
parent
2da8eb0342
commit
008e733df6
5 changed files with 1 additions and 18 deletions
|
@ -519,17 +519,6 @@ fn matches_simple_selector<E, F>(
|
|||
where E: Element,
|
||||
F: FnMut(&E, ElementSelectorFlags),
|
||||
{
|
||||
macro_rules! relation_if {
|
||||
($ex:expr, $flag:ident) => {
|
||||
if $ex {
|
||||
context.relations |= $flag;
|
||||
true
|
||||
} else {
|
||||
false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
match *selector {
|
||||
Component::Combinator(_) => unreachable!(),
|
||||
Component::PseudoElement(ref pseudo) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue