You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In particular, if I want to use Uint128 in a match, I cannot do:
match amount {
Uint128::zero() => do_something(),
_ => do_something_else(),
}
As you cannot use functions in the branches of match. Maybe this works with const fn? In any case, if you deprecate Uint128(0), please ensure there is a replacement for the above idiom (which I used twice today)
No description provided.
The text was updated successfully, but these errors were encountered: