mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 22:47:56 +00:00
put TryInto and TryFrom in sp_std::prelude (#10183)
* Switch to Rust 2021 * Update trybuild to fix errors * half baked * fix * remove unused import * remove more warnings Co-authored-by: Bastian Köcher <info@kchr.de>
This commit is contained in:
@@ -62,11 +62,7 @@ use sp_runtime::{
|
||||
app_crypto::RuntimeAppPublic,
|
||||
traits::{Extrinsic as ExtrinsicT, IdentifyAccount, One},
|
||||
};
|
||||
use sp_std::{
|
||||
collections::btree_set::BTreeSet,
|
||||
convert::{TryFrom, TryInto},
|
||||
prelude::{Box, Vec},
|
||||
};
|
||||
use sp_std::{collections::btree_set::BTreeSet, prelude::*};
|
||||
|
||||
/// Marker struct used to flag using all supported keys to sign a payload.
|
||||
pub struct ForAll {}
|
||||
|
||||
Reference in New Issue
Block a user