mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-10 05:17:59 +00:00
no-bound derives: Use absolute path for core (#1763)
Closes: https://github.com/paritytech/polkadot-sdk/issues/1718
This commit is contained in:
@@ -112,8 +112,8 @@ pub fn derive_debug_no_bound(input: proc_macro::TokenStream) -> proc_macro::Toke
|
||||
|
||||
quote::quote!(
|
||||
const _: () = {
|
||||
impl #impl_generics core::fmt::Debug for #input_ident #ty_generics #where_clause {
|
||||
fn fmt(&self, fmt: &mut core::fmt::Formatter) -> core::fmt::Result {
|
||||
impl #impl_generics ::core::fmt::Debug for #input_ident #ty_generics #where_clause {
|
||||
fn fmt(&self, fmt: &mut ::core::fmt::Formatter) -> ::core::fmt::Result {
|
||||
#impl_
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user