Use $crate inside of native_executor_instance and parameter_types macros (#2702)

* Use  inside of native_executor_instance macro

* Same for the parameter_types macro
This commit is contained in:
Stanislav Tkach authored and Gavin Wood committed 2019-05-28 17:14:48 +02:00
1 parent f329908887
commit 1df8ac9751
2 files changed
+5 -5

No files matched your search

@@ -272,7 +272,7 @@ macro_rules! native_executor_instance {
( $pub:vis $name:ident, $dispatcher:path, $version:path, $code:expr) => {
/// A unit struct which implements `NativeExecutionDispatch` feeding in the hard-coded runtime.
$pub struct $name;
native_executor_instance!(IMPL $name, $dispatcher, $version, $code);
$crate::native_executor_instance!(IMPL $name, $dispatcher, $version, $code);
};
(IMPL $name:ident, $dispatcher:path, $version:path, $code:expr) => {
impl $crate::NativeExecutionDispatch for $name {