mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-03-31 03:29:19 +00:00
Mention struct-like variants in enums2 hint instead of anonymous structs
This commit is contained in:
parent
87ac600b7c
commit
4817abcc14
@ -440,7 +440,7 @@ dir = "08_enums"
|
|||||||
test = false
|
test = false
|
||||||
hint = """
|
hint = """
|
||||||
You can create enumerations that have different variants with different types
|
You can create enumerations that have different variants with different types
|
||||||
such as anonymous structs, structs, a single string, tuples, no data, etc."""
|
such as struct-like variants, regular structs, a single string, tuples, no data, etc."""
|
||||||
|
|
||||||
[[exercises]]
|
[[exercises]]
|
||||||
name = "enums3"
|
name = "enums3"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user