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