Skip to content

Commit

Permalink
Merge pull request #1172 from schutzekatze/patch-1
Browse files Browse the repository at this point in the history
Fix a typo ("half" -> "halve")
  • Loading branch information
marioidival committed Apr 15, 2019
2 parents f68ef3d + 24afbac commit 22bb226
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flow_control/if_else.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 22bb226

Please sign in to comment.