From 64a1053117c4544b59cb7c1d091ca222373c366c Mon Sep 17 00:00:00 2001 From: Cheese_space <99285740+Cheese-Space@users.noreply.github.com> Date: Wed, 18 Feb 2026 16:33:20 +0100 Subject: [PATCH] remove debug printing for the u32 and bool not needed as std::fmt::Display and std::fit::Debug are the same for u32 and bool --- src/variable_bindings.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/variable_bindings.md b/src/variable_bindings.md index 4e23c11c89..c91b58a8f5 100644 --- a/src/variable_bindings.md +++ b/src/variable_bindings.md @@ -16,8 +16,8 @@ fn main() { // copy `an_integer` into `copied_integer` let copied_integer = an_integer; - println!("An integer: {:?}", copied_integer); - println!("A boolean: {:?}", a_boolean); + println!("An integer: {}", copied_integer); + println!("A boolean: {}", a_boolean); println!("Meet the unit value: {:?}", unit); // The compiler warns about unused variable bindings; these warnings can