Skip to content

Commit ecab9ea

Browse files
authored
Merge pull request #18 from input-output-hk/sg/qualified-macro-imports
fix: qualify imports in module macro
2 parents 883530a + 8cd4d0d commit ecab9ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdk/macros/src/macros.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,10 @@ pub fn module(attr: TokenStream, item: TokenStream) -> TokenStream {
107107

108108
// Implement Module init etc.
109109
#[caryatid_sdk::async_trait]
110-
impl #impl_generics Module<#message_type> for #struct_name #type_generics #where_clause {
110+
impl #impl_generics caryatid_sdk::Module<#message_type> for #struct_name #type_generics #where_clause {
111111

112112
// Implement init, calling down to struct's own
113-
async fn init(&self, context: Arc<Context<#message_type>>, config: Arc<Config>)
113+
async fn init(&self, context: Arc<caryatid_sdk::Context<#message_type>>, config: std::sync::Arc<::config::Config>)
114114
-> anyhow::Result<()> {
115115
#struct_name::init(self, context, config).await
116116
}

0 commit comments

Comments
 (0)