diff --git a/src/ch03-05-control-flow.md b/src/ch03-05-control-flow.md index 5c87430..f11b817 100644 --- a/src/ch03-05-control-flow.md +++ b/src/ch03-05-control-flow.md @@ -151,7 +151,7 @@ number is divisible by 3 When this program executes, it will check each `if` expression in turn and execute the first body for which the condition holds true. Note that even -though 6 is divisible by 2 ], we did not see the output `number is divisible by +though 6 is divisible by 2, we did not see the output `number is divisible by 2`, nor did we see the `number is not divisible by 4, 3, or 2` text from the `else` block. That's because Rust will only execute the block for the first true condition, and once it finds one, it won't even check the rest.