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
Currently we have just the names making the values implicit. This is not strictly wrong but it really feels like implicit property even though we actually explicitly want the values to behave as they are written. Assigning explicit values (Zero = 0 etc) makes that intention clear.
We can also use as instead of match in the From impl to convey that this is intentional. (Might also help with debug performance.)
The text was updated successfully, but these errors were encountered:
Currently we have just the names making the values implicit. This is not strictly wrong but it really feels like implicit property even though we actually explicitly want the values to behave as they are written. Assigning explicit values (
Zero = 0
etc) makes that intention clear.We can also use
as
instead ofmatch
in theFrom
impl to convey that this is intentional. (Might also help with debug performance.)The text was updated successfully, but these errors were encountered: