mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 06:21:02 +00:00
fixes for nightly clippy (#1618)
This commit is contained in:
committed by
Bastian Köcher
parent
9592b55fea
commit
f58e076ca2
@@ -85,15 +85,15 @@ impl<AccountId> TaggedAccount<AccountId> {
|
||||
/// Returns stringified account tag.
|
||||
pub fn tag(&self) -> String {
|
||||
match *self {
|
||||
TaggedAccount::Headers { ref bridged_chain, .. } => format!("{}Headers", bridged_chain),
|
||||
TaggedAccount::Headers { ref bridged_chain, .. } => format!("{bridged_chain}Headers"),
|
||||
TaggedAccount::Parachains { ref bridged_chain, .. } => {
|
||||
format!("{}Parachains", bridged_chain)
|
||||
format!("{bridged_chain}Parachains")
|
||||
},
|
||||
TaggedAccount::Messages { ref bridged_chain, .. } => {
|
||||
format!("{}Messages", bridged_chain)
|
||||
format!("{bridged_chain}Messages")
|
||||
},
|
||||
TaggedAccount::MessagesPalletOwner { ref bridged_chain, .. } => {
|
||||
format!("{}MessagesPalletOwner", bridged_chain)
|
||||
format!("{bridged_chain}MessagesPalletOwner")
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user