mirror of
https://github.com/servo/servo.git
synced 2025-07-04 05:53:39 +01:00
Qualify path to ToCss in #[derive(ToCss)]
This commit is contained in:
parent
17b5a8332b
commit
14dd4217fa
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ use synstructure;
|
||||||
|
|
||||||
pub fn derive(input: syn::DeriveInput) -> Tokens {
|
pub fn derive(input: syn::DeriveInput) -> Tokens {
|
||||||
let name = &input.ident;
|
let name = &input.ident;
|
||||||
let trait_path = parse_quote!(style_traits::ToCss);
|
let trait_path = parse_quote!(::style_traits::ToCss);
|
||||||
let (impl_generics, ty_generics, mut where_clause) =
|
let (impl_generics, ty_generics, mut where_clause) =
|
||||||
cg::trait_parts(&input, &trait_path);
|
cg::trait_parts(&input, &trait_path);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue