From f9841faa160a7dc1f3ef21ef579aa0abe062e613 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 26 Nov 2024 00:03:28 +0100 Subject: [PATCH] Print formatted `Rectangle` representation --- rectangles/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rectangles/src/main.rs b/rectangles/src/main.rs index 67e0b92..f763b50 100644 --- a/rectangles/src/main.rs +++ b/rectangles/src/main.rs @@ -10,5 +10,5 @@ fn main() { height: 50, }; - println!("rect1 is {rect1:?}"); + println!("rect1 is {rect1:#?}"); }