Skip to content

Commit 1b9eeca

Browse files
authored
docs: fix wrong description (#50774)
The descriptions had `i <= 5` while the code block had `i <=3`.
1 parent c62f4ea commit 1b9eeca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/manual/control-flow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ julia> while i <= 3
397397
3
398398
```
399399

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

0 commit comments

Comments
 (0)