Add some type annos to make this easier
This commit is contained in:
parent
5d4505241a
commit
81ac918a59
@ -79,7 +79,7 @@ pub fn derive_programming_language_interface(input: TokenStream) -> TokenStream
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
let tokens = quote! {
|
let tokens: quote::Tokens = quote! {
|
||||||
use schala_repl::PassDescriptor;
|
use schala_repl::PassDescriptor;
|
||||||
impl ProgrammingLanguageInterface for #name {
|
impl ProgrammingLanguageInterface for #name {
|
||||||
fn get_language_name(&self) -> String {
|
fn get_language_name(&self) -> String {
|
||||||
@ -100,5 +100,6 @@ pub fn derive_programming_language_interface(input: TokenStream) -> TokenStream
|
|||||||
//TODO if doc_method is defined, add code here
|
//TODO if doc_method is defined, add code here
|
||||||
};
|
};
|
||||||
|
|
||||||
tokens.into()
|
let output: TokenStream = tokens.into();
|
||||||
|
output
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user