mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-13 22: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
@@ -1967,7 +1967,6 @@ mod tests {
|
||||
#[test]
|
||||
#[cfg(feature = "unstable-interface")]
|
||||
fn call_runtime_works() {
|
||||
use std::convert::TryInto;
|
||||
let call = Call::System(frame_system::Call::remark { remark: b"Hello World".to_vec() });
|
||||
let mut ext = MockExt::default();
|
||||
let result = execute(CODE_CALL_RUNTIME, call.encode(), &mut ext).unwrap();
|
||||
|
||||
Reference in new issue
Block a user