mirror of
https://github.com/fluencelabs/marine-rs-sdk-test
synced 2024-12-04 15:20:18 +00:00
fmt
This commit is contained in:
parent
bac2d22bea
commit
c5347cf1c1
@ -40,13 +40,13 @@ impl ForeignModArgGlueCodeGenerator for ParsedType {
|
||||
ty @ ParsedType::Boolean(_) => {
|
||||
let deref_sign = maybe_deref(ty);
|
||||
quote! { #deref_sign#arg as _ }
|
||||
},
|
||||
}
|
||||
// this branch shouldn't be unite with booleans because otherwise
|
||||
// conversions errors could be lost due to as _
|
||||
ty => {
|
||||
let deref_sign = maybe_deref(ty);
|
||||
quote! { #deref_sign#arg }
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user