From a27ef17e36f5b20285cf66bd07f1d315aa11e233 Mon Sep 17 00:00:00 2001 From: shengurun Date: Tue, 8 Oct 2019 15:54:55 +0800 Subject: [PATCH] =?UTF-8?q?fix(ch03-05):=20=E4=BF=AE=E6=94=B9`=E4=BB=8E?= =?UTF-8?q?=E5=BE=AA=E7=8E=AF=E8=BF=94=E5=9B=9E`=E4=B8=80=E8=8A=82?= =?UTF-8?q?=E7=9A=84=E4=BB=A3=E7=A0=81=E7=89=87=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将译文中的代码修改成与原文一致,不过个人感觉不影响学习理解,可以无视。 --- src/ch03-05-control-flow.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch03-05-control-flow.md b/src/ch03-05-control-flow.md index 2494982..11e80db 100644 --- a/src/ch03-05-control-flow.md +++ b/src/ch03-05-control-flow.md @@ -262,7 +262,7 @@ fn main() { } }; - assert_eq!(result, 20); + println!("The result is {}", result); } ```