Skip to content

Commit

Permalink
Small fix to support generics in value_impl
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkirsz committed Aug 17, 2023
1 parent a0bef3d commit 13a68d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/turbo-tasks-macros/src/value_impl_macro.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,9 @@ pub fn value_impl(args: TokenStream, input: TokenStream) -> TokenStream {
}

#[doc(hidden)]
pub(crate) static #native_function_ident: #native_function_ty = #ty::#native_function_ident;
pub(crate) static #native_function_ident: #native_function_ty = <#ty>::#native_function_ident;
#[doc(hidden)]
pub(crate) static #native_function_id_ident: #native_function_id_ty = #ty::#native_function_id_ident;
pub(crate) static #native_function_id_ident: #native_function_id_ty = <#ty>::#native_function_id_ident;
})
}
}
Expand Down

0 comments on commit 13a68d0

Please sign in to comment.