Skip to content

Commit

Permalink
docs: fix wrong description (#50774)
Browse files Browse the repository at this point in the history
The descriptions had `i <= 5` while the code block had `i <=3`.
  • Loading branch information
frankebel authored Aug 3, 2023
1 parent c62f4ea commit 1b9eeca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/src/manual/control-flow.md
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ julia> while i <= 3
3
```

The `while` loop evaluates the condition expression (`i <= 5` in this case), and as long it remains
The `while` loop evaluates the condition expression (`i <= 3` in this case), and as long it remains
`true`, keeps also evaluating the body of the `while` loop. If the condition expression is `false`
when the `while` loop is first reached, the body is never evaluated.

Expand Down

0 comments on commit 1b9eeca

Please sign in to comment.