mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 00:31:02 +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,5 +1,3 @@
|
||||
use std::convert::TryInto;
|
||||
|
||||
/// Simple u32 power of 2 function - simply uses a bit shift
|
||||
macro_rules! pow2 {
|
||||
($n:expr) => {
|
||||
|
||||
Reference in New Issue
Block a user