mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Use 2018-style paths in code generated by proc-macro derives
This commit is contained in:
parent
acabd50f03
commit
86f148fb97
3 changed files with 13 additions and 13 deletions
|
@ -47,7 +47,7 @@ pub fn dom_struct(args: TokenStream, input: TokenStream) -> TokenStream {
|
|||
quote! (
|
||||
#s2
|
||||
|
||||
impl ::dom::bindings::inheritance::HasParent for #name {
|
||||
impl crate::dom::bindings::inheritance::HasParent for #name {
|
||||
type Parent = #ty;
|
||||
/// This is used in a type assertion to ensure that
|
||||
/// the source and webidls agree as to what the parent type is
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue