mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 19:47:59 +00:00
Migrate smrl-treasury and srml-upgrade-key to the 2018 edition (#1725)
This commit is contained in:
committed by
Gav Wood
parent
810c391de2
commit
ca69ad4c30
@@ -74,7 +74,7 @@ macro_rules! fail {
|
||||
macro_rules! ensure {
|
||||
( $x:expr, $y:expr ) => {{
|
||||
if !$x {
|
||||
fail!($y);
|
||||
$crate::fail!($y);
|
||||
}
|
||||
}}
|
||||
}
|
||||
@@ -84,7 +84,7 @@ macro_rules! ensure {
|
||||
macro_rules! assert_noop {
|
||||
( $x:expr , $y:expr ) => {
|
||||
let h = runtime_io::storage_root();
|
||||
assert_err!($x, $y);
|
||||
$crate::assert_err!($x, $y);
|
||||
assert_eq!(h, runtime_io::storage_root());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user