mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 15:11:03 +00:00
Fixed a bunch of warnings (#1740)
This commit is contained in:
committed by
Gav Wood
parent
7b0f82b4f0
commit
091e222d99
@@ -62,6 +62,8 @@ pub type RuntimeString = &'static str;
|
||||
macro_rules! create_runtime_str {
|
||||
( $y:expr ) => {{ ::std::borrow::Cow::Borrowed($y) }}
|
||||
}
|
||||
|
||||
/// Create a const [RuntimeString].
|
||||
#[cfg(not(feature = "std"))]
|
||||
#[macro_export]
|
||||
macro_rules! create_runtime_str {
|
||||
@@ -319,6 +321,7 @@ pub fn verify_encoded_lazy<V: Verify, T: codec::Encode>(sig: &V, item: &T, signe
|
||||
)
|
||||
}
|
||||
|
||||
/// Helper macro for `impl_outer_config`
|
||||
#[macro_export]
|
||||
macro_rules! __impl_outer_config_types {
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user