mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-09 20:29:18 +00:00
Add enums3 hint
This commit is contained in:
parent
dba759e1c6
commit
873e6922e6
@ -344,7 +344,11 @@ such as no data, anonymous structs, a single string, tuples, ...etc"""
|
||||
name = "enums3"
|
||||
path = "exercises/enums/enums3.rs"
|
||||
mode = "test"
|
||||
hint = "No hints this time ;)"
|
||||
hint = """
|
||||
As a first step, you can define enums to compile this code without errors.
|
||||
and 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."""
|
||||
|
||||
# MODULES
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user