cargo fmt
This commit is contained in:
@@ -17,7 +17,7 @@ impl Default for Party {
|
||||
Self {
|
||||
at_restaurant: true,
|
||||
num_people: 8,
|
||||
cake: Cake::Chocolate
|
||||
cake: Cake::Chocolate,
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -110,7 +110,10 @@ fn main() {
|
||||
// consuming it. Change the code above to pass in a &party. Then uncomment and run the code
|
||||
// below. After all, you want to smell your cake and eat it, too!
|
||||
|
||||
println!("Yum! I'm eating this cake: {:?}. Oops, I dropped it on the floor.", party.cake);
|
||||
println!(
|
||||
"Yum! I'm eating this cake: {:?}. Oops, I dropped it on the floor.",
|
||||
party.cake
|
||||
);
|
||||
}
|
||||
|
||||
pub fn admire_cake(cake: Cake) {
|
||||
|
||||
Reference in New Issue
Block a user