mirror of
https://github.com/fluencelabs/marine-rs-sdk-test
synced 2024-12-04 15:20:18 +00:00
improve result converting
This commit is contained in:
parent
b57c3687a2
commit
773dedcd79
@ -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> {
|
||||
|
Loading…
Reference in New Issue
Block a user