Print formatted Rectangle representation

This commit is contained in:
Manuel Thalmann 2024-11-26 00:03:28 +01:00
parent 2b3f04ce4c
commit f9841faa16

View file

@ -10,5 +10,5 @@ fn main() {
height: 50, height: 50,
}; };
println!("rect1 is {rect1:?}"); println!("rect1 is {rect1:#?}");
} }