mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-04 18:01:07 +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
@@ -256,7 +256,6 @@ benchmarks! {
|
||||
}
|
||||
|
||||
unbond {
|
||||
use sp_std::convert::TryFrom;
|
||||
// clean up any existing state.
|
||||
clear_validators_and_nominators::<T>();
|
||||
|
||||
|
||||
Reference in new issue
Block a user