mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-12-02 15:27:06 +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:
1 parent
ca5b07243f
commit
937b6f246e
39 files changed
+22
-48
No files matched your search
@@ -26,10 +26,6 @@ use rand::{prelude::SliceRandom, rngs::SmallRng, SeedableRng};
|
||||
use sp_arithmetic::{per_things::Percent, traits::One};
|
||||
use sp_npos_elections::IndexAssignment;
|
||||
use sp_runtime::InnerOf;
|
||||
use sp_std::{
|
||||
boxed::Box,
|
||||
convert::{TryFrom, TryInto},
|
||||
};
|
||||
|
||||
const SEED: u32 = 999;
|
||||
|
||||
|
||||
Reference in new issue
Block a user