mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-21 21:31:02 +00:00
sp-std -> core (#3199)
First in a series of PRs that reduces our use of sp-std with a view to deprecating it. This is just looking at /substrate and moving some of the references from `sp-std` to `core`. These particular changes should be uncontroversial. Where macros are used `::core` should be used to remove any ambiguity. part of https://github.com/paritytech/polkadot-sdk/issues/2101
This commit is contained in:
@@ -623,7 +623,7 @@ fn generate_storage_instance(
|
||||
|
||||
quote! {
|
||||
#visibility struct #counter_name< #impl_generics >(
|
||||
#crate_::__private::sp_std::marker::PhantomData<(#type_generics)>
|
||||
::core::marker::PhantomData<(#type_generics)>
|
||||
) #where_clause;
|
||||
|
||||
impl<#impl_generics> #crate_::traits::StorageInstance
|
||||
@@ -653,7 +653,7 @@ fn generate_storage_instance(
|
||||
let code = quote! {
|
||||
#[allow(non_camel_case_types)]
|
||||
#visibility struct #name< #impl_generics >(
|
||||
#crate_::__private::sp_std::marker::PhantomData<(#type_generics)>
|
||||
::core::marker::PhantomData<(#type_generics)>
|
||||
) #where_clause;
|
||||
|
||||
impl<#impl_generics> #crate_::traits::StorageInstance
|
||||
|
||||
Reference in New Issue
Block a user