mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: Have OneOrMoreSeparated replace OneOrMoreCommaSeparated.
A future patch series has some values that should be separated by spaces. This allows us to re-use the code for serialization, but the types do get a little clunky. The separator is now indicated with an associated type.
This commit is contained in:
parent
e41b7d06b4
commit
26179b3660
6 changed files with 64 additions and 14 deletions
|
@ -71,7 +71,7 @@ pub mod values;
|
|||
#[macro_use]
|
||||
pub mod viewport;
|
||||
|
||||
pub use values::{ToCss, OneOrMoreCommaSeparated};
|
||||
pub use values::{ToCss, OneOrMoreSeparated, CommaSeparator, SpaceSeparator, IsCommaSeparator};
|
||||
pub use viewport::HasViewportPercentage;
|
||||
|
||||
/// The error type for all CSS parsing routines.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue