mirror of
https://github.com/servo/servo.git
synced 2025-08-12 00:45:33 +01:00
style: Fix tidy issues and Servo build.
This commit is contained in:
parent
64cceb328a
commit
292f899631
15 changed files with 32 additions and 56 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
use cg;
|
||||
use quote::Tokens;
|
||||
use syn::{Data, DeriveInput, Fields, Ident,Type};
|
||||
use syn::{Data, DeriveInput, Fields, Ident, Type};
|
||||
use to_css::{CssFieldAttrs, CssInputAttrs, CssVariantAttrs};
|
||||
|
||||
pub fn derive(mut input: DeriveInput) -> Tokens {
|
||||
|
@ -101,7 +101,7 @@ pub fn derive(mut input: DeriveInput) -> Tokens {
|
|||
quote!()
|
||||
} else {
|
||||
let mut value_list = quote!();
|
||||
value_list.append_separated(values.iter(), quote!(,));
|
||||
value_list.append_separated(values.iter(), quote! { , });
|
||||
quote! { _f(&[#value_list]); }
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue