enums3 solution

This commit is contained in:
mo8it
2024-06-21 23:18:25 +02:00
parent 020711fa97
commit 2901d85662
3 changed files with 87 additions and 14 deletions
+3 -3
View File
@@ -457,12 +457,12 @@ such as no data, anonymous structs, a single string, tuples, etc."""
name = "enums3"
dir = "08_enums"
hint = """
As a first step, you can define enums to compile this code without errors.
As a first step, define enums to compile the code without errors.
And then create a match expression in `process()`.
Then, create a match expression in `process()`.
Note that you need to deconstruct some message variants in the match expression
to get value in the variant."""
to get the variant's values."""
# STRINGS