mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 15:51:12 +00:00
remove unicode normalization and std references
This commit is contained in:
@@ -46,7 +46,7 @@ pub struct Address<ReturnTy> {
|
||||
|
||||
// Manual implementation to work around https://github.com/mcarton/rust-derivative/issues/115.
|
||||
impl<ReturnTy> PartialOrd for Address<ReturnTy> {
|
||||
fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
|
||||
fn partial_cmp(&self, other: &Self) -> Option<core::cmp::Ordering> {
|
||||
Some(self.cmp(other))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -74,11 +74,11 @@ pub trait RuntimeApiPayload {
|
||||
#[derive(Derivative)]
|
||||
#[derivative(
|
||||
Clone(bound = "ArgsData: Clone"),
|
||||
Debug(bound = "ArgsData: std::fmt::Debug"),
|
||||
Eq(bound = "ArgsData: std::cmp::Eq"),
|
||||
Ord(bound = "ArgsData: std::cmp::Ord"),
|
||||
PartialEq(bound = "ArgsData: std::cmp::PartialEq"),
|
||||
PartialOrd(bound = "ArgsData: std::cmp::PartialOrd")
|
||||
Debug(bound = "ArgsData: core::fmt::Debug"),
|
||||
Eq(bound = "ArgsData: core::cmp::Eq"),
|
||||
Ord(bound = "ArgsData: core::cmp::Ord"),
|
||||
PartialEq(bound = "ArgsData: core::cmp::PartialEq"),
|
||||
PartialOrd(bound = "ArgsData: core::cmp::PartialOrd")
|
||||
)]
|
||||
pub struct Payload<ArgsData, ReturnTy> {
|
||||
trait_name: Cow<'static, str>,
|
||||
|
||||
@@ -58,11 +58,11 @@ pub trait StorageAddress {
|
||||
#[derive(Derivative)]
|
||||
#[derivative(
|
||||
Clone(bound = "StorageKey: Clone"),
|
||||
Debug(bound = "StorageKey: std::fmt::Debug"),
|
||||
Eq(bound = "StorageKey: std::cmp::Eq"),
|
||||
Ord(bound = "StorageKey: std::cmp::Ord"),
|
||||
PartialEq(bound = "StorageKey: std::cmp::PartialEq"),
|
||||
PartialOrd(bound = "StorageKey: std::cmp::PartialOrd")
|
||||
Debug(bound = "StorageKey: core::fmt::Debug"),
|
||||
Eq(bound = "StorageKey: core::cmp::Eq"),
|
||||
Ord(bound = "StorageKey: core::cmp::Ord"),
|
||||
PartialEq(bound = "StorageKey: core::cmp::PartialEq"),
|
||||
PartialOrd(bound = "StorageKey: core::cmp::PartialOrd")
|
||||
)]
|
||||
pub struct Address<StorageKey, ReturnTy, Fetchable, Defaultable, Iterable> {
|
||||
pallet_name: Cow<'static, str>,
|
||||
|
||||
+5
-5
@@ -54,11 +54,11 @@ pub struct ValidationDetails<'a> {
|
||||
#[derive(Derivative)]
|
||||
#[derivative(
|
||||
Clone(bound = "CallData: Clone"),
|
||||
Debug(bound = "CallData: std::fmt::Debug"),
|
||||
Eq(bound = "CallData: std::cmp::Eq"),
|
||||
Ord(bound = "CallData: std::cmp::Ord"),
|
||||
PartialEq(bound = "CallData: std::cmp::PartialEq"),
|
||||
PartialOrd(bound = "CallData: std::cmp::PartialOrd")
|
||||
Debug(bound = "CallData: core::fmt::Debug"),
|
||||
Eq(bound = "CallData: core::cmp::Eq"),
|
||||
Ord(bound = "CallData: core::cmp::Ord"),
|
||||
PartialEq(bound = "CallData: core::cmp::PartialEq"),
|
||||
PartialOrd(bound = "CallData: core::cmp::PartialOrd")
|
||||
)]
|
||||
pub struct Payload<CallData> {
|
||||
pallet_name: Cow<'static, str>,
|
||||
|
||||
Reference in New Issue
Block a user