Migrate smrl-treasury and srml-upgrade-key to the 2018 edition (#1725)

This commit is contained in:
Stanislav Tkach authored and Gav Wood committed 2019-02-09 18:06:20 +01:00
1 parent 810c391de2
commit ca69ad4c30
37 files changed
+88 -149

No files matched your search

+2 -2
View File
@@ -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());
}
}