mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-05-15 09:48:45 +00:00
Merge pull request #2353 from orzechow/improve_enums2_hint
Mention struct-like variants in enums2 hint instead of anonymous structs
This commit is contained in:
commit
d3d414c7b1
@ -439,7 +439,7 @@ dir = "08_enums"
|
||||
test = false
|
||||
hint = """
|
||||
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, tuple-like and unit-only variants."""
|
||||
|
||||
[[exercises]]
|
||||
name = "enums3"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user