Add some type annos to make this easier

This commit is contained in:
greg 2018-09-25 13:44:06 -07:00
parent 5d4505241a
commit 81ac918a59

View File

@ -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
} }