mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 17:01:09 +00:00
once_cell in std from 1.70 (#14402)
* once_cell now stable * cargo fmt --------- Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -114,8 +114,8 @@ fn default_byte_getter(
|
||||
|
||||
#[cfg(feature = "std")]
|
||||
#[allow(non_upper_case_globals)]
|
||||
static #cache_name: #scrate::once_cell::sync::OnceCell<#scrate::sp_std::vec::Vec<u8>> =
|
||||
#scrate::once_cell::sync::OnceCell::new();
|
||||
static #cache_name: ::core::sync::OnceLock<#scrate::sp_std::vec::Vec<u8>> =
|
||||
::core::sync::OnceLock::new();
|
||||
|
||||
#[cfg(feature = "std")]
|
||||
impl<#runtime_generic: #runtime_trait, #optional_instance_bound>
|
||||
|
||||
Reference in New Issue
Block a user