Skip to content

Commit

Permalink
Fix a typo ("half" -> "halve")
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Nikolić authored Apr 13, 2019
1 parent f68ef3d commit 24afbac
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 24afbac

Please sign in to comment.