Skip to content

Commit 795ba44

Browse files
authored
Merge pull request #1030 from mayk93/master
Replaced wrong 'reduce by two' with 'half the number'
2 parents ebb28c9 + effdf1d commit 795ba44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/flow_control/if_else.md

Lines changed: 2 additions & 2 deletions
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, reduce by two");
27+
println!(", and is a big number, half the number");
2828
2929
// This expression must return an `i32` as well.
3030
n / 2
@@ -34,4 +34,4 @@ fn main() {
3434
3535
println!("{} -> {}", n, big_n);
3636
}
37-
```
37+
```

0 commit comments

Comments
 (0)