mirror of
https://github.com/fluencelabs/marine-rs-sdk-test
synced 2024-12-04 15:20:18 +00:00
fix error with returl value for complex types
This commit is contained in:
parent
d5d1207a3d
commit
cc2b8249fc
@ -83,10 +83,7 @@ fn generate_fn_return_type(ty: &Option<ParsedType>) -> proc_macro2::TokenStream
|
||||
|
||||
fn generate_return_expression(ty: &Option<ParsedType>) -> proc_macro2::TokenStream {
|
||||
match ty {
|
||||
None
|
||||
| Some(ParsedType::Utf8String)
|
||||
| Some(ParsedType::ByteVector)
|
||||
| Some(ParsedType::Record(_)) => quote! {},
|
||||
None => quote! {},
|
||||
_ => quote! {
|
||||
let result =
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user