mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Rename #[parse(aliases)] to #[css(aliases)]
This commit is contained in:
parent
3fba02a0d6
commit
579cef6a69
4 changed files with 12 additions and 18 deletions
|
@ -123,11 +123,12 @@ struct CssInputAttrs {
|
|||
|
||||
#[darling(attributes(css), default)]
|
||||
#[derive(Default, FromVariant)]
|
||||
struct CssVariantAttrs {
|
||||
function: Option<Function>,
|
||||
iterable: bool,
|
||||
comma: bool,
|
||||
dimension: bool,
|
||||
pub struct CssVariantAttrs {
|
||||
pub function: Option<Function>,
|
||||
pub iterable: bool,
|
||||
pub comma: bool,
|
||||
pub dimension: bool,
|
||||
pub aliases: Option<String>,
|
||||
}
|
||||
|
||||
#[darling(attributes(css), default)]
|
||||
|
@ -136,7 +137,7 @@ struct CssFieldAttrs {
|
|||
ignore_bound: bool,
|
||||
}
|
||||
|
||||
struct Function {
|
||||
pub struct Function {
|
||||
name: Option<Ident>,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue