improve result converting

This commit is contained in:
vms 2021-04-01 12:56:23 +03:00
parent b57c3687a2
commit 773dedcd79

View File

@ -59,7 +59,7 @@ pub(super) fn generate_module_definitions<'i>(
modules
.into_iter()
.map(generate_module_definition)
.collect::<Result<Vec<_>, _>>()
.collect::<TResult<Vec<_>>>()
}
fn generate_module_definition(module: &Module<'_>) -> TResult<TokenStream> {