cargo fmt

This commit is contained in:
2026-05-26 14:42:05 +04:00
parent 76cb232b1e
commit 47ed183cfe
9 changed files with 23 additions and 22 deletions

View File

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