mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: Remove some redundant use statements.
This commit is contained in:
parent
c106fb1231
commit
b268ef6aed
7 changed files with 4 additions and 20 deletions
|
@ -307,8 +307,6 @@ pub fn resolve_style<E>(
|
|||
where
|
||||
E: TElement,
|
||||
{
|
||||
use crate::style_resolver::StyleResolverForElement;
|
||||
|
||||
debug_assert!(
|
||||
rule_inclusion == RuleInclusion::DefaultOnly ||
|
||||
pseudo.map_or(false, |p| p.is_before_or_after()) ||
|
||||
|
@ -406,7 +404,6 @@ pub fn recalc_style_at<E, D, F>(
|
|||
D: DomTraversal<E>,
|
||||
F: FnMut(E::ConcreteNode),
|
||||
{
|
||||
use crate::traversal_flags::TraversalFlags;
|
||||
use std::cmp;
|
||||
|
||||
let flags = context.shared.traversal_flags;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue