Skip to content

Commit 22bb226

Browse files
authored
Merge pull request #1172 from schutzekatze/patch-1
Fix a typo ("half" -> "halve")
2 parents f68ef3d + 24afbac commit 22bb226

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/flow_control/if_else.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ fn main() {
2424
// This expression returns an `i32`.
2525
10 * n
2626
} else {
27-
println!(", and is a big number, half the number");
27+
println!(", and is a big number, halve the number");
2828
2929
// This expression must return an `i32` as well.
3030
n / 2

0 commit comments

Comments
 (0)