From a967f07f859b6b7d98524597548eff1d1e576189 Mon Sep 17 00:00:00 2001 From: Samurai <63137303+127001sudais@users.noreply.github.com> Date: Sun, 7 Jan 2024 16:24:06 +0800 Subject: [PATCH] Update print.md There was an extra, i have removed it `println!("Base 16 (hexadecimal): {:x}", 694240);` --- src/hello/print.md | 1 - 1 file changed, 1 deletion(-) diff --git a/src/hello/print.md b/src/hello/print.md index ef25dab0e6..71c368963e 100644 --- a/src/hello/print.md +++ b/src/hello/print.md @@ -37,7 +37,6 @@ fn main() { println!("Base 2 (binary): {:b}", 69420); // 10000111100101100 println!("Base 8 (octal): {:o}", 69420); // 207454 println!("Base 16 (hexadecimal): {:x}", 69420); // 10f2c - println!("Base 16 (hexadecimal): {:X}", 69420); // 10F2C // You can right-justify text with a specified width. This will // output " 1". (Four white spaces and a "1", for a total width of 5.)