Pages
Executive Summary
Bios
Crypto
ETHBTC experiment
Sumo Vault
ORCA arbitrage
Mensa
BUIDLn a Protocol
Wednesday, October 26, 2022
Rust pop-answer: split_asset
Again, implementing
split_asset
was easy,
... but when it came to the `replace or remove` functionality of the
HashSet
of assets, poor Rust balked, so I had to use clone-semantics, refreshing the
HashSet
with a new instance.
Here is
split_asset
in action.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment