According to rustc, Currency does not implement the assign set of operation traits, such as std::ops::AddAssign, std::ops::MulAssign, etc.
Those traits are responsible for idioms such as currency1 += currency2.
This should be fairly easy to implement.
According to rustc,
Currency
does not implement the assign set of operation traits, such asstd::ops::AddAssign
,std::ops::MulAssign
, etc. Those traits are responsible for idioms such ascurrency1 += currency2
. This should be fairly easy to implement.