1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2026-05-18 09:51:14 +02: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:
Mo Bitar
2026-05-09 12:24:36 +02:00
committed by GitHub
+1 -1
View File
@@ -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"