wormhole/solana/migration/src
Csongor Kiss f60acc59ab
solitaire: Infer entry point argument type in solitaire! macro (#927)
The type of the `ix_data` binding withing the solitaire! macro expansion
is explicitly annotated with its type, which comes from the macro's
pattern binding `$kind`. However, this type annotation is entirely
optional, since `ix_data` is passed in as an argument to `$fn`, whose
type forecs `ix_data` anyway, and rust will happily infer that from the
application. So we remove the explicit annotation which makes the entry
point macro easier to use.

commit-id:d428306c
2022-03-16 18:25:41 +00:00
..
api Allow migration liquidity removal 2021-09-13 18:55:25 +00:00
accounts.rs Build token migration program 2021-09-13 14:01:16 +00:00
api.rs Allow migration liquidity removal 2021-09-13 18:55:25 +00:00
instructions.rs Allow migration liquidity removal 2021-09-13 18:55:25 +00:00
lib.rs solitaire: Infer entry point argument type in solitaire! macro (#927) 2022-03-16 18:25:41 +00:00
types.rs Build token migration program 2021-09-13 14:01:16 +00:00
wasm.rs Allow migration liquidity removal 2021-09-13 18:55:25 +00:00