mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-16 15:47:07 +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:
1 parent
c552fb5495
commit
bc2e5e1fe2
75 files changed
+125
-125
No files matched your search
@@ -89,7 +89,7 @@ macro_rules! wasm_export_functions {
|
||||
&[0u8; 0]
|
||||
} else {
|
||||
unsafe {
|
||||
$crate::sp_std::slice::from_raw_parts(input_data, input_len)
|
||||
::core::slice::from_raw_parts(input_data, input_len)
|
||||
}
|
||||
};
|
||||
|
||||
@@ -117,7 +117,7 @@ macro_rules! wasm_export_functions {
|
||||
&[0u8; 0]
|
||||
} else {
|
||||
unsafe {
|
||||
$crate::sp_std::slice::from_raw_parts(input_data, input_len)
|
||||
::core::slice::from_raw_parts(input_data, input_len)
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user