From 896f69cc85e39848509b6165644678a089955b61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6kmen=20Kaplan?= Date: Fri, 8 Jul 2022 05:02:50 +0300 Subject: [PATCH] Fix inconsistency between comment and code in hello/print.md --- src/hello/print.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hello/print.md b/src/hello/print.md index efedeb79df..bf2e706298 100644 --- a/src/hello/print.md +++ b/src/hello/print.md @@ -68,7 +68,7 @@ fn main() { // surrounding variable. Just like the above, this will output // " 1". 5 white spaces and a "1". let number: f64 = 1.0; - let width: usize = 6; + let width: usize = 5; println!("{number:>width$}"); } ```