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
Notice that we need both the enum name and the variant name: `StringResult::StringOK`, but we can use the `use` keyword to prevent having to call `StringResult::StringOK` every time we want to use the `StringOK` variant:
1179
+
Notice that we need both the enum name and the variant name: `StringResult::StringOK` in this example.
1180
+
Alternatively, we can just use the varient name `StringOK` with the help of the `use` key word. Lets look at an example of that!
0 commit comments