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:
Kian PaimaniandBastian Köcher authored and GitHub committed 2021-11-08 00:24:53 +01:00
1 parent ca5b07243f
commit 937b6f246e
39 files changed
+22 -48

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ use frame_support::{
weights::{Pays, Weight},
BoundedVec, WeakBoundedVec,
};
use sp_application_crypto::{Public, TryFrom};
use sp_application_crypto::Public;
use sp_runtime::{
generic::DigestItem,
traits::{IsMember, One, SaturatedConversion, Saturating, Zero},