From 4817abcc1476e2d57965d19095d24ff805ba851c Mon Sep 17 00:00:00 2001 From: Piotr Spieker Date: Thu, 12 Feb 2026 11:56:25 +0100 Subject: [PATCH 1/2] Mention struct-like variants in enums2 hint instead of anonymous structs --- rustlings-macros/info.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rustlings-macros/info.toml b/rustlings-macros/info.toml index ca3ecf1f..dd1f04be 100644 --- a/rustlings-macros/info.toml +++ b/rustlings-macros/info.toml @@ -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" From f9f8a37bc72bd0ac6562545e966e4d8cb26bc4d1 Mon Sep 17 00:00:00 2001 From: Piotr Spieker Date: Thu, 30 Apr 2026 12:05:38 +0200 Subject: [PATCH 2/2] Improve the list of enum variants in enums2 hint --- rustlings-macros/info.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rustlings-macros/info.toml b/rustlings-macros/info.toml index dd1f04be..735d131d 100644 --- a/rustlings-macros/info.toml +++ b/rustlings-macros/info.toml @@ -440,7 +440,7 @@ dir = "08_enums" test = false hint = """ 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]] name = "enums3"