Commit 1cc1a57
Changed files (1)
5.2
src
5.2/src/main.rs
@@ -84,6 +84,7 @@ fn main() {
height: 50,
};
println!("rect1 is {rect1:?}");
+ println!("rect1 is {rect1:#?}");
println!(
"The area of the rectangle is {} square pixels.",
area(&rect1)