From ea937157385259436b72f558b8c45283845ce7ee Mon Sep 17 00:00:00 2001 From: "Jamil Lambert, PhD" Date: Tue, 13 Sep 2022 11:32:45 +0100 Subject: [PATCH] Updated the comment to match the code The code requires the student to create a Party not a Dessert as originally stated in the comment --- exercise/traits/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercise/traits/src/main.rs b/exercise/traits/src/main.rs index 5beb803..82ce153 100644 --- a/exercise/traits/src/main.rs +++ b/exercise/traits/src/main.rs @@ -46,7 +46,7 @@ fn main() { // println!("The default Party is\n{:#?}", Party::default()); - // 4. You prefer Maple Bacon cake. Use "struct update syntax" to create a Dessert with `cake` + // 4. You prefer Maple Bacon cake. Use "struct update syntax" to create a Party with `cake` // set to `Cake::MapleBacon`, but the rest of the values are default. // // Hint: The trick to struct update syntax is specifying the value(s) you want to customize