We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1055990 commit e02b4daCopy full SHA for e02b4da
src/expressions/loop-expr.md
@@ -74,8 +74,8 @@ while i < 10 {
74
75
A `while let` loop is semantically similar to a `while` loop but in place of a
76
condition expression it expects the keyword `let` followed by a refutable
77
-pattern, an `=` and a block expression. If the value of the expression on the right
78
-hand side of the `=` matches the pattern, the loop body block executes then
+pattern, an `=`, an expression and a block expression. If the value of the expression on
+the right hand side of the `=` matches the pattern, the loop body block executes then
79
control returns to the pattern matching statement. Otherwise, the while
80
expression completes.
81
0 commit comments