From 24afbacccff19072fb7d052711127fee0f5997fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20Nikoli=C4=87?= Date: Sat, 13 Apr 2019 15:42:42 -0700 Subject: [PATCH] Fix a typo ("half" -> "halve") --- src/flow_control/if_else.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flow_control/if_else.md b/src/flow_control/if_else.md index 01c5d1a4b7..d761aa8388 100644 --- a/src/flow_control/if_else.md +++ b/src/flow_control/if_else.md @@ -24,7 +24,7 @@ fn main() { // This expression returns an `i32`. 10 * n } else { - println!(", and is a big number, half the number"); + println!(", and is a big number, halve the number"); // This expression must return an `i32` as well. n / 2