From f1728e8f8c638428e63708355116eff56ee2c03d Mon Sep 17 00:00:00 2001 From: nprimo Date: Fri, 11 Nov 2022 11:34:07 +0000 Subject: [PATCH] docs(min_and_max): make example and output given coherent --- subjects/min_and_max/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subjects/min_and_max/README.md b/subjects/min_and_max/README.md index 727d41db3..ebf693124 100644 --- a/subjects/min_and_max/README.md +++ b/subjects/min_and_max/README.md @@ -18,7 +18,7 @@ use min_and_max::min_and_max; fn main() { println!( - "Minium and maximum are: ${:?}", + "Minimum and maximum are: {:?}", min_and_max(9, 2, 4) ); } @@ -28,7 +28,7 @@ And its output ```console $ cargo run -The minimum is 2, the maximum is 9 +Minimum and maximum are: (2, 9) $ ```