1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2026-05-16 09:38:12 +02:00

Mention struct-like variants in enums2 hint instead of anonymous structs

This commit is contained in:
Piotr Spieker
2026-02-12 11:56:25 +01:00
parent 87ac600b7c
commit 4817abcc14
+1 -1
View File
@@ -440,7 +440,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 variants, regular structs, a single string, tuples, no data, etc."""
[[exercises]]
name = "enums3"