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
{{ message }}
This repository was archived by the owner on Jun 8, 2021. It is now read-only.
Of course adding a constructor is useful, there's no question about this. One argument in favour of setting the fields as public is that when we declare an Error based on an enum, the variants fields are public.
... so that we can read them outside of the module and we can build an error for use in
assert_eq!
expressions.The text was updated successfully, but these errors were encountered: