mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Import ast::ComponentValue more consistently.
This commit is contained in:
parent
3e283da8b1
commit
3be587606f
7 changed files with 21 additions and 13 deletions
|
@ -4,7 +4,8 @@
|
|||
|
||||
|
||||
use std::ascii::AsciiExt;
|
||||
use cssparser::ast::{ComponentValue, Ident, Comma, SkipWhitespaceIterable, SkipWhitespaceIterator};
|
||||
use cssparser::ast::{SkipWhitespaceIterable, SkipWhitespaceIterator};
|
||||
use cssparser::ast::ComponentValue::{mod, Ident, Comma};
|
||||
|
||||
|
||||
pub fn one_component_value<'a>(input: &'a [ComponentValue]) -> Result<&'a ComponentValue, ()> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue