Open DavyJo opened 1 year ago
Taking into account that Currency
and Money
are currently Copy
it seems there's no reason why they are still references.
Also Decimal
is Copy
but Money::amount
returns reference too.
What's the reason for having so many references? Thanks.
Hi, just wondering why the Currency is passed as a ref and not as owned? It makes getting started in fast manner pretty hard as pollution with lifetimes is hugely annoying in nested and complex data structures.