mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-05-15 17:58:44 +00:00
Improve the list of enum variants in enums2 hint
This commit is contained in:
parent
4817abcc14
commit
f9f8a37bc7
@ -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 struct-like variants, regular structs, a single string, tuples, no data, etc."""
|
such as struct-like, tuple-like and unit-only variants."""
|
||||||
|
|
||||||
[[exercises]]
|
[[exercises]]
|
||||||
name = "enums3"
|
name = "enums3"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user