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
This commit is contained in:
Jamil Lambert, PhD
2022-09-13 11:32:45 +01:00
committed by Nathan Stocks
parent 036e7b7b50
commit ea93715738

View File

@@ -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